fixup: add neodev and disable a bunch of servers by default
This commit is contained in:
parent
07c684b283
commit
01e80d152e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ tags
|
|||||||
test.sh
|
test.sh
|
||||||
.luarc.json
|
.luarc.json
|
||||||
nvim
|
nvim
|
||||||
|
plugin/packer_compiled.lua
|
||||||
|
16
init.lua
16
init.lua
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user