fixup: add neodev and disable a bunch of servers by default

This commit is contained in:
TJ DeVries 2022-12-20 13:49:14 -05:00
parent 07c684b283
commit 01e80d152e
2 changed files with 12 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ tags
test.sh test.sh
.luarc.json .luarc.json
nvim nvim
plugin/packer_compiled.lua

View File

@ -20,6 +20,9 @@ require('packer').startup(function(use)
-- Useful status updates for LSP -- Useful status updates for LSP
'j-hui/fidget.nvim', 'j-hui/fidget.nvim',
-- Additional lua configuration, makes nvim stuff amazing
'folke/neodev.nvim',
}, },
} }
@ -341,11 +344,11 @@ table.insert(runtime_path, 'lua/?/init.lua')
-- Add any additional override configuration in the following tables. They will be passed to -- Add any additional override configuration in the following tables. They will be passed to
-- the `settings` field of the server config -- the `settings` field of the server config
local servers = { local servers = {
clangd = {}, -- clangd = {},
gopls = {}, -- gopls = {},
pyright = {}, -- pyright = {},
rust_analyzer = {}, -- rust_analyzer = {},
tsserver = {}, -- tsserver = {},
sumneko_lua = { sumneko_lua = {
Lua = { Lua = {
@ -360,6 +363,9 @@ local servers = {
}, },
} }
-- Setup neovim lua configuration
require('neodev').setup()
-- Setup mason so it can manage external tooling -- Setup mason so it can manage external tooling
require('mason').setup() require('mason').setup()