mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 14:52:04 +00:00
Minor fixes
This commit is contained in:
@@ -145,9 +145,14 @@ for _, server in pairs(servers) do
|
||||
|
||||
goto continue
|
||||
end
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities.offsetEncoding = { "utf-16" }
|
||||
|
||||
if server == "clangd" then
|
||||
require("clangd_extensions").setup({
|
||||
server = {
|
||||
capabilities = capabilities,
|
||||
-- options to pass to nvim-lspconfig
|
||||
-- i.e. the arguments to require("lspconfig").clangd.setup({})
|
||||
},
|
||||
|
||||
@@ -19,7 +19,7 @@ null_ls.setup({
|
||||
sources = {
|
||||
formatting.prettier.with({
|
||||
extra_filetypes = { "toml" },
|
||||
extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" },
|
||||
extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote", "--no-bracket-spacing" },
|
||||
}),
|
||||
formatting.autopep8,
|
||||
formatting.stylua,
|
||||
@@ -29,7 +29,7 @@ null_ls.setup({
|
||||
diagnostics.cpplint,
|
||||
diagnostics.luacheck,
|
||||
diagnostics.pylint,
|
||||
-- diagnostics.mypy,
|
||||
diagnostics.mypy,
|
||||
diagnostics.zsh,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user