fix blamer and stop greying compiler directives in clang
This commit is contained in:
@@ -2,7 +2,21 @@ local ignoreServers = require('ignoreConfig.lspIgnoreServers')
|
|||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
jq = {},
|
jq = {},
|
||||||
clangd = {},
|
clangd = {
|
||||||
|
-- capabilities = capabilities,
|
||||||
|
cmd = {
|
||||||
|
"clangd",
|
||||||
|
"--background-index",
|
||||||
|
"--clang-tidy",
|
||||||
|
},
|
||||||
|
settings = {
|
||||||
|
clangd = {
|
||||||
|
SemanticTokens = {
|
||||||
|
DisabledKinds = { "InactiveCode" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
glsl_analyzer = {},
|
glsl_analyzer = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
-- cmd = { ... },
|
-- cmd = { ... },
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
if package.config:sub(1,1) == '\\' then
|
||||||
if not vim.fn.has("win32") == 1 then
|
return {}
|
||||||
return{
|
|
||||||
"APZelos/blamer.nvim",
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return {
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return {
|
||||||
|
"APZelos/blamer.nvim",
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user