diff --git a/fnl/lazy-setup.fnl b/fnl/lazy-setup.fnl index 46dc6b8..34d6680 100644 --- a/fnl/lazy-setup.fnl +++ b/fnl/lazy-setup.fnl @@ -34,7 +34,7 @@ (let [telescope (require :telescope)] (pcall (telescope.load_extension :fzf))) -;; Syntax support via Treesitter +;; Syntax Highlighting via Treesitter ;; NOTE: if you add a language to treesitter for syntax highlighting or otherwise ;; consider also adding the LSP via Mason below... (let @@ -49,7 +49,6 @@ :indent {:enable true}})) ;; Language Server Protocols via Mason -;; TODO fix lua_ls checking .fnl files? (let [neodev (require :neodev) mason (require :mason) @@ -57,15 +56,19 @@ servers {:lua_ls {:filetypes [:lua] - :Lua - {:workspace {:checkThirdParty false} - :telemetry {:enable false}} - :diagnostics {:globals [:vim]}} + :Lua + {:workspace {:checkThirdParty false} } + :telemetry {:enable false} + :diagnostics {:globals + [:vim + ]}} :fennel_language_server {:filetypes [:fennel] :fennel {:workspace {:library (vim.api.nvim_list_runtime_paths)} - :diagnostics {:globals [:vim]}}} + :diagnostics {:globals + [:vim + ]}}} :bashls {:filetypes [:bash]} } on_attach (fn [_ bufnr] @@ -76,8 +79,9 @@ (nmap :gd vim.lsp.buf.definition "[G]o to [D]efiniton") (nmap :gr telescope.lsp_references "[G]o to [R]eferences") (nmap :gI vim.lsp.buf.implementation "[G]o to [I]mplementation") - (vim.api.nvim_buf_create_user_command bufnr "Format" #(vim.lsp.buf.format) - "Format current buffer with LSP"))) + (vim.api.nvim_buf_create_user_command bufnr "Format" + #(vim.lsp.buf.format) + "Format current buffer with LSP"))) ] (neodev.setup) (mason.setup) diff --git a/lazy-lock.json b/lazy-lock.json index 7b0c7b1..be387cb 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -7,7 +7,6 @@ "neodev.nvim": { "branch": "main", "commit": "f57e5210d450b47aa02ea6d9e50a37414f570b4c" }, "nvim-lspconfig": { "branch": "master", "commit": "b6091272422bb0fbd729f7f5d17a56d37499c54f" }, "nvim-treesitter": { "branch": "master", "commit": "6aababfca4e3d72cb1e8fbbdac4115a5f88107d0" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "9e519b6146512c8e2e702faf8ac48420f4f5deec" }, "plenary.nvim": { "branch": "master", "commit": "267282a9ce242bbb0c5dc31445b6d353bed978bb" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" }, "telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" }