Skip to content

Commit 1ab08aa

Browse files
committed
fixup: add neodev and disable a bunch of servers by default
1 parent 0a35d45 commit 1ab08aa

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ tags
22
test.sh
33
.luarc.json
44
nvim
5+
plugin/packer_compiled.lua

init.lua

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ require('packer').startup(function(use)
2020

2121
-- Useful status updates for LSP
2222
'j-hui/fidget.nvim',
23+
24+
-- Additional lua configuration, makes nvim stuff amazing
25+
'folke/neodev.nvim',
2326
},
2427
}
2528

@@ -341,11 +344,11 @@ table.insert(runtime_path, 'lua/?/init.lua')
341344
-- Add any additional override configuration in the following tables. They will be passed to
342345
-- the `settings` field of the server config
343346
local servers = {
344-
clangd = {},
345-
gopls = {},
346-
pyright = {},
347-
rust_analyzer = {},
348-
tsserver = {},
347+
-- clangd = {},
348+
-- gopls = {},
349+
-- pyright = {},
350+
-- rust_analyzer = {},
351+
-- tsserver = {},
349352

350353
sumneko_lua = {
351354
Lua = {
@@ -360,6 +363,9 @@ local servers = {
360363
},
361364
}
362365

366+
-- Setup neovim lua configuration
367+
require('neodev').setup()
368+
363369
-- Setup mason so it can manage external tooling
364370
require('mason').setup()
365371

0 commit comments

Comments
 (0)