diff --git a/lua/config/lspServers.lua b/lua/config/lspServers.lua index d66838a..3c73a4a 100644 --- a/lua/config/lspServers.lua +++ b/lua/config/lspServers.lua @@ -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 = { ... }, diff --git a/lua/plugins/blamer.lua b/lua/plugins/blamer.lua index 1c28e19..27b4622 100644 --- a/lua/plugins/blamer.lua +++ b/lua/plugins/blamer.lua @@ -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", +} +