Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add fennel-ls to nvim lspconfig

+6 -1
+6 -1
nvim/lua/lsp.lua
··· 41 41 42 42 -- LSPs that just use default config 43 43 local simple_lsps = { 44 - "fennel_ls", "nil_ls", "htmx", "bzl", "bufls", "crystalline", "dockerls", 44 + "nil_ls", "htmx", "bzl", "bufls", "crystalline", "dockerls", 45 45 "erlangls", "elixirls", "fortls", "gleam", "gopls", "hls", "jsonls", 46 46 "vimls", "asm_lsp", "ccls", "pyright", -- ruff", idk if this is wrong? 47 47 "ruff_lsp", "clojure_lsp", "guile_ls", ··· 57 57 for _, v in pairs(simple_lsps) do nvim_lsp[v].setup { 58 58 capabilities = capabilities 59 59 } end 60 + 61 + nvim_lsp.fennel_ls.setup({ 62 + capabilities = capabilities, 63 + root_dir = nvim_lsp.util.root_pattern(".git", "fnl") 64 + }) 60 65 61 66 -- Whenever an LSP is attached to a buffer 62 67 local on_attach = function(ev)