Compare commits
2 Commits
327b4e03e8
...
c7f3f3bb17
| Author | SHA1 | Date | |
|---|---|---|---|
|
c7f3f3bb17
|
|||
|
b578e7bfd4
|
@@ -2,7 +2,9 @@ local tools = {}
|
|||||||
|
|
||||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
|
||||||
tools.servers = {
|
tools.servers = {
|
||||||
clangd = {},
|
clangd = {
|
||||||
|
cmd = { "clangd", "--offset-encoding=utf-16", "--clang-tidy" },
|
||||||
|
},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
@@ -65,7 +67,7 @@ tools.formatters = require("util.conform").assign_formatters({
|
|||||||
json = { "jq" },
|
json = { "jq" },
|
||||||
toml = { "taplo" },
|
toml = { "taplo" },
|
||||||
nix = { "nixfmt" },
|
nix = { "nixfmt" },
|
||||||
["*"] = { "injected" },
|
-- ["*"] = { "injected" },
|
||||||
["_"] = { "trim_whitespace", "trim_newlines" },
|
["_"] = { "trim_whitespace", "trim_newlines" },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user