nvim: lsp: Explicitly set the log level

This commit is contained in:
Sanchayan Maity 2021-09-30 13:55:49 +05:30
parent 4b6bd7e7ed
commit 0a21f7d979
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ local on_attach = function(client, bufnr)
decorator = {"`", "`"}
})
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
vim.lsp.set_log_level('warn')
if client.config.flags then
client.config.flags.allow_incremental_sync = true