diff --git a/lua/plugins/nvim-lspconfig.lua b/lua/plugins/nvim-lspconfig.lua index 9fc6c0c..9091ff8 100644 --- a/lua/plugins/nvim-lspconfig.lua +++ b/lua/plugins/nvim-lspconfig.lua @@ -15,6 +15,10 @@ return { -- LSP Configuration & Plugins { 'folke/lazydev.nvim', opts = {} }, }, config = function() + -- Manual config for Nushell LSP + -- TODO: Remove once `mason-lspconfig` supports Nushell + require('lspconfig').nushell.setup {} + -- Brief aside: **What is LSP?** -- -- LSP is an initialism you've probably heard, but might not understand what it is. diff --git a/lua/plugins/nvim-treesitter.lua b/lua/plugins/nvim-treesitter.lua index 83809c1..b97a3d7 100644 --- a/lua/plugins/nvim-treesitter.lua +++ b/lua/plugins/nvim-treesitter.lua @@ -14,6 +14,11 @@ return { -- Highlight, edit, and navigate code }, indent = { enable = true, disable = { 'ruby' } }, }, + dependencies = { + -- NOTE: additional parser + -- TODO: Remove when no longer needed + { 'nushell/tree-sitter-nu' }, + }, config = function(_, opts) -- [[ Configure Treesitter ]] See `:help nvim-treesitter`