diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-10 17:40:13 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-10 17:40:13 +0200 |
| commit | 81908ca54068d4b1447303da935ff13005a877b7 (patch) | |
| tree | d35fa91bae3f358e3bc9e78c3433b9faebbaab65 /lua/plugins/neodev.lua | |
| parent | 5547d363694c16a5f75554ae444db5ceb145558a (diff) | |
| download | dotfiles-81908ca54068d4b1447303da935ff13005a877b7.tar.gz dotfiles-81908ca54068d4b1447303da935ff13005a877b7.zip | |
Add more plugins to use with neodev
Diffstat (limited to 'lua/plugins/neodev.lua')
| -rw-r--r-- | lua/plugins/neodev.lua | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/lua/plugins/neodev.lua b/lua/plugins/neodev.lua index ae73e65..f820422 100644 --- a/lua/plugins/neodev.lua +++ b/lua/plugins/neodev.lua @@ -1,3 +1,29 @@ require("neodev").setup({ - library = { plugins = { "nvim-dap-ui" }, types = true }, + --library = { plugins = { "nvim-dap-ui" }, types = true }, + --library = { plugins = { "neotest" }, types = true }, + library = { + enabled = true, -- when not enabled, neodev will not change any settings to the LSP server + -- these settings will be used for your Neovim config directory + runtime = true, -- runtime path + types = true, -- full signature, docs and completion of vim.api, vim.treesitter, vim.lsp and others + --plugins = { "neotest" }, + --{ "nvim-dap-ui" }, + --plugins = true, -- installed opt or start plugins in packpath + -- you can also specify the list of plugins to make available as a workspace library + -- plugins = { "nvim-treesitter", "plenary.nvim", "telescope.nvim" }, + plugins = { "nvim-treesitter", "plenary.nvim", "telescope.nvim", "neotest", "nvim-dap-ui" }, + }, + setup_jsonls = true, -- configures jsonls to provide completion for project specific .luarc.json files + -- for your Neovim config directory, the config.library settings will be used as is + -- for plugin directories (root_dirs having a /lua directory), config.library.plugins will be disabled + -- for any other directory, config.library.enabled will be set to false + override = function(root_dir, options) + end, + -- With lspconfig, Neodev will automatically setup your lua-language-server + -- If you disable this, then you have to set {before_init=require("neodev.lsp").before_init} + -- in your lsp start options + lspconfig = true, + -- much faster, but needs a recent built of lua-language-server + -- needs lua-language-server >= 3.6.0 + pathStrict = true, }) |
