Skip to content

Commit 1526811

Browse files
committed
Remove lsp setup
1 parent cb3639f commit 1526811

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

config/lvim/lua/user/options.lua

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -80,37 +80,6 @@ table.insert(lvim.builtin.alpha.dashboard.section.buttons.entries,
8080
)
8181

8282
-- LSP
83-
require("lvim.lsp.null-ls.formatters").setup {
84-
{ name = "black",
85-
args = { "-l", "99" }
86-
},
87-
{ name = "clang-format",
88-
filetype = { "c", "cpp", "cs", "java" },
89-
args = { "--style", "file" }
90-
},
91-
{ name = "isort",
92-
args = {
93-
"-l", "99",
94-
"--profile", "black"
95-
}
96-
},
97-
{ name = "yamlfmt" },
98-
}
99-
100-
require("lvim.lsp.null-ls.linters").setup {
101-
{ name = "cmakelint" },
102-
{ name = "cpptools" },
103-
{ name = "flake8",
104-
args = {
105-
"--max-line-length", "99",
106-
"--extend-ignore", "B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202"
107-
}
108-
},
109-
{ name = "markdownlint" },
110-
{ name = "pylint" },
111-
{ name = "yamllint" },
112-
}
113-
11483
lvim.lsp.null_ls.setup.on_init = function(new_client, _)
11584
new_client.offset_encoding = "utf-8"
11685
end

0 commit comments

Comments
 (0)