From a7ec4a3bb9816ff8baa16edd13ee5d0f6a65c985 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 7 Jan 2024 13:52:28 +0100 Subject: Add comments for lspconfig --- fnl/plugins/lsp/lspconfig.fnl | 2 +- fnl/plugins/lsp/mason-lspconfig.fnl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl index e498056..b6949ec 100644 --- a/fnl/plugins/lsp/lspconfig.fnl +++ b/fnl/plugins/lsp/lspconfig.fnl @@ -1,4 +1,4 @@ -;; Setup of lsps. +;; Configuration for lsp clients. (fn on-attach [] (vim.api.nvim_create_autocmd :LspAttach diff --git a/fnl/plugins/lsp/mason-lspconfig.fnl b/fnl/plugins/lsp/mason-lspconfig.fnl index 3e34c32..21a07ad 100644 --- a/fnl/plugins/lsp/mason-lspconfig.fnl +++ b/fnl/plugins/lsp/mason-lspconfig.fnl @@ -1,4 +1,5 @@ -;; Mason lspconfig setup +;; A bridge plugin between mason and lspconfig, handles installation of lsp and +;; setup hooks for client configurations. (fn capabilities [] (let [cmp-lsp (require :cmp_nvim_lsp)] -- cgit v1.2.3-70-g09d2