feat(nvim): tidy old config; track lazy-lock.json
This commit is contained in:
@@ -63,7 +63,7 @@ function G.buf_kill(kill_command, bufnr, force)
|
||||
else
|
||||
return
|
||||
end
|
||||
elseif api.nvim_buf_get_option(bufnr, "buftype") == "terminal" then
|
||||
elseif api.nvim_get_option_value("buftype", { buf = bufnr }) == "terminal" then
|
||||
choice = fn.confirm(fmt([[Close "%s"?]], bufname), "&Yes\n&No\n&Cancel")
|
||||
if choice == 1 then
|
||||
force = true
|
||||
|
||||
@@ -25,10 +25,6 @@ vim.diagnostic.config({
|
||||
severity_sort = true,
|
||||
})
|
||||
|
||||
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
|
||||
border = "single",
|
||||
})
|
||||
|
||||
local diag_config1 = {
|
||||
virtual_text = {
|
||||
severity = {
|
||||
|
||||
Reference in New Issue
Block a user