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
.luarc.json
nvim
plugin/packer_compiled.lua

View file

@ -20,6 +20,9 @@ require('packer').startup(function(use)
-- Useful status updates for LSP
'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
-- the `settings` field of the server config
local servers = {
clangd = {},
gopls = {},
pyright = {},
rust_analyzer = {},
tsserver = {},
-- clangd = {},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},
-- tsserver = {},
sumneko_lua = {
Lua = {
@ -360,6 +363,9 @@ local servers = {
},
}
-- Setup neovim lua configuration
require('neodev').setup()
-- Setup mason so it can manage external tooling
require('mason').setup()