Compare commits
No commits in common. "73e1b5f4f5d481ce9debd1376b2b749972a1d6c3" and "c40f81ac658a024781430b7c5e45edcbce72b0ed" have entirely different histories.
73e1b5f4f5
...
c40f81ac65
1 changed files with 5 additions and 9 deletions
14
init.lua
14
init.lua
|
|
@ -110,9 +110,6 @@ vim.keymap.set("n", "<C-L>", ":nohlsearch<CR>")
|
|||
---- Treesitter ----
|
||||
local ts = require("nvim-treesitter.configs")
|
||||
ts.setup({
|
||||
auto_install = true,
|
||||
sync_install = false,
|
||||
ignore_install = {},
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
|
|
@ -130,7 +127,6 @@ ts.setup({
|
|||
"gitignore",
|
||||
"go",
|
||||
"html",
|
||||
"htmldjango",
|
||||
"http",
|
||||
"ini",
|
||||
"javascript",
|
||||
|
|
@ -185,9 +181,6 @@ formatter.setup({
|
|||
lua = {
|
||||
require("formatter.filetypes.lua").stylua,
|
||||
},
|
||||
terraform = {
|
||||
require("formatter.filetypes.terraform").terraformfmt,
|
||||
}
|
||||
},
|
||||
["*"] = {
|
||||
-- "formatter.filetypes.any" defines default configurations for any
|
||||
|
|
@ -269,6 +262,9 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
|||
})
|
||||
|
||||
---- Plugins ----
|
||||
-- Go
|
||||
g.ale_go_golangci_lint_options = ""
|
||||
g.ale_go_golangci_lint_package = 1
|
||||
---- nvim-lint ----
|
||||
local lint = require("lint")
|
||||
local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
|
||||
|
|
@ -282,7 +278,6 @@ local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
|
|||
|
||||
-- clippy --
|
||||
lint.linters.clippy = {
|
||||
name = "clippy",
|
||||
cmd = "cargo clippy",
|
||||
stdin = false,
|
||||
append_fname = true,
|
||||
|
|
@ -297,7 +292,8 @@ lint.linters.clippy = {
|
|||
lint.linters.sqlfluff.args = {
|
||||
"lint",
|
||||
"--format=json",
|
||||
"--dialect=postgres",
|
||||
-- note: users will have to replace the --dialect argument accordingly
|
||||
"--dialect=sqlite",
|
||||
"-",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue