Nvim restart (#9)

* chore(nvim): remove astronvim and configs

* feat(nvim): new, custom nvim configuration
This commit is contained in:
2023-08-27 15:12:22 +03:00
committed by GitHub
parent 3af8d8b638
commit 9fb925b38c
75 changed files with 3041 additions and 1349 deletions

View File

@@ -0,0 +1,22 @@
-- CSS + Less + SASS Language Server
require("lspconfig").cssls.setup({
cmd = { "vscode-css-language-server", "--stdio" },
filetypes = { "css", "scss", "less" },
-- root_dir = root_pattern("package.json", ".git") or bufdir,
settings = {
css = {
validate = true,
},
less = {
validate = true,
},
scss = {
validate = true,
},
},
single_file_support = true,
capabilities = CAPABILITIES,
on_attach = function(client, bufnr)
if client.server_capabilities.documentSymbolProvider then require("nvim-navic").attach(client, bufnr) end
end,
})