diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 23:28:47 +0200 |
| commit | 152fd9d787c7433cad95795992e444250cb83216 (patch) | |
| tree | 0ae3b4a3b42005dc08b1400981cfc4c1f37297fe /fnl/plugins/lsp/lspconfig.fnl | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Add fff and other nice things such as macros
Diffstat (limited to 'fnl/plugins/lsp/lspconfig.fnl')
| -rw-r--r-- | fnl/plugins/lsp/lspconfig.fnl | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl deleted file mode 100644 index 192954c..0000000 --- a/fnl/plugins/lsp/lspconfig.fnl +++ /dev/null @@ -1,25 +0,0 @@ -;; Configuration for lsp clients. - -(λ on-attach [] - (vim.api.nvim_create_autocmd :LspAttach - {:callback (λ [args] - (let [{: on-attach} (require :plugins.lsp.keymaps) - buffer (. args :buf)] - (on-attach buffer)))})) - -(λ config [] - (on-attach) - (let [diagnostics (require :plugins.lsp.diagnostics) - mason-lspconfig (require :plugins.lsp.mason-lspconfig) - ui (require :lspconfig.ui.windows)] - (set ui.default_options.border :single) - (diagnostics.setup) - (mason-lspconfig.setup))) - -{1 :neovim/nvim-lspconfig - :event :BufNew - :dependencies [:mason.nvim - :williamboman/mason-lspconfig.nvim - :b0o/schemastore.nvim - :saghen/blink.cmp] - : config} |