Updated neovim configuration

This commit is contained in:
2024-03-26 19:18:28 +01:00
parent 78039e2fa9
commit 512313a673
5 changed files with 25 additions and 14 deletions

View File

@@ -9,3 +9,9 @@ api.nvim_create_autocmd(
"FileType",
{ pattern = "markdown", command = "setlocal complete+=kspell" }
)
api.nvim_create_autocmd({
"BufNewFile", "BufRead"
},
{ pattern = "*.mcfunction", command = "set filetype=mcfunction" }
)

View File

@@ -10,6 +10,7 @@
ripgrep
marksman
wl-clipboard
nodejs_20
];
programs.neovim =

View File

@@ -24,7 +24,11 @@ vim.g.rustaceanvim = {
lspconfig.tsserver.setup{}
lspconfig.spyglassmc_language_server.setup{}
lspconfig.spyglassmc_language_server.setup{
cmd = {
"/home/xeovalyte/.npm-global/bin/spyglassmc-language-server", "--stdio"
}
}
lspconfig.arduino_language_server.setup{
cmd = {