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,25 @@
local eslint = require("eslint")
local null_ls = require("null-ls")
-- local sources = { null_ls.builtins.formatting.prettierd }
null_ls.setup()
eslint.setup({
bin = "eslint_d",
code_actions = {
enable = true,
apply_on_save = {
enable = true,
types = { "directive", "problem", "suggestion", "layout" },
},
disable_rule_comment = {
enable = true,
location = "separate_line", -- or `same_line`
},
},
diagnostics = {
enable = true,
report_unused_disable_directives = false,
run_on = "type", -- or `save`
},
})