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 = {
|
||||
jq = {},
|
||||
clangd = {},
|
||||
clangd = {
|
||||
-- capabilities = capabilities,
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--background-index",
|
||||
"--clang-tidy",
|
||||
},
|
||||
settings = {
|
||||
clangd = {
|
||||
SemanticTokens = {
|
||||
DisabledKinds = { "InactiveCode" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
glsl_analyzer = {},
|
||||
lua_ls = {
|
||||
-- cmd = { ... },
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
|
||||
if not vim.fn.has("win32") == 1 then
|
||||
return{
|
||||
"APZelos/blamer.nvim",
|
||||
}
|
||||
else
|
||||
return {
|
||||
}
|
||||
if package.config:sub(1,1) == '\\' then
|
||||
return {}
|
||||
end
|
||||
|
||||
return {
|
||||
"APZelos/blamer.nvim",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user