feat(nvim): new nvim config (#28)

* feat(nvim): clean config, work in progress
* feat: refactored plugins and configs
* feat: stylua config, ufo, lsp refactor, cleanup
* feat: renamed nvim to nvim-lazy, added alias
* feat: renamed nvim-clean to be nvim, updated alias
This commit is contained in:
Ismo Vuorinen
2024-09-22 03:52:02 +03:00
committed by GitHub
parent 36e0f36e06
commit 6f1e1a0416
50 changed files with 2046 additions and 131 deletions

View File

@@ -0,0 +1,20 @@
return {
"neovim/nvim-lspconfig",
opts = {
servers = {
eslint = {},
tflint = {},
},
setup = {
eslint = function()
require("lazyvim.util.lsp").on_attach(function(client)
if client.name == "eslint" then
client.server_capabilities.documentFormattingProvider = true
elseif client.name == "tsserver" then
client.server_capabilities.documentFormattingProvider = false
end
end)
end,
},
},
}