mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add global variable logging_level
This commit is contained in:
@@ -61,8 +61,10 @@ local custom_attach = function(client, bufnr)
|
||||
]])
|
||||
end
|
||||
|
||||
local msg = string.format("Language server %s started!", client.name)
|
||||
vim.notify(msg, 'info', {title = 'Nvim-config'})
|
||||
if vim.g.logging_level == 'debug' then
|
||||
local msg = string.format("Language server %s started!", client.name)
|
||||
vim.notify(msg, 'info', {title = 'Nvim-config'})
|
||||
end
|
||||
end
|
||||
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
Reference in New Issue
Block a user