diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 13:52:28 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-01-07 13:52:28 +0100 |
commit | a7ec4a3bb9816ff8baa16edd13ee5d0f6a65c985 (patch) | |
tree | 7f4688e9e2e40f595e52a64add2b601ce5bb2053 /fnl/plugins | |
parent | 727a5ab4a17203d52b10351858e9e2079f9ebd9e (diff) |
Add comments for lspconfig
Diffstat (limited to 'fnl/plugins')
-rw-r--r-- | fnl/plugins/lsp/lspconfig.fnl | 2 | ||||
-rw-r--r-- | fnl/plugins/lsp/mason-lspconfig.fnl | 3 |
2 files changed, 3 insertions, 2 deletions
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)] |