diff options
author | Michaël Ball <michael.ball@krotosaudio.com> | 2025-01-03 15:34:03 +0000 |
---|---|---|
committer | Michaël Ball <michael.ball@krotosaudio.com> | 2025-01-03 15:34:03 +0000 |
commit | 312faec0a27c208da2a017b0e1ab1a6d2d686b5f (patch) | |
tree | 5833b9daa1cec82e6df636bfc36ab158bc15e6d2 /neovim/.config/nvim/lua/settings.lua | |
parent | 278736ec4eef5cfe2759a55d3c8a1da68353eec1 (diff) |
Neovim conf updates
Diffstat (limited to 'neovim/.config/nvim/lua/settings.lua')
-rw-r--r-- | neovim/.config/nvim/lua/settings.lua | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/neovim/.config/nvim/lua/settings.lua b/neovim/.config/nvim/lua/settings.lua index 6daf849..4bba27b 100644 --- a/neovim/.config/nvim/lua/settings.lua +++ b/neovim/.config/nvim/lua/settings.lua @@ -173,19 +173,5 @@ end vim.diagnostic.config({ underline = { severity = vim.diagnostic.severity.ERROR }, -}) - --- Disable diagnostics for gen.nvim -local lsp_grp = vim.api.nvim_create_augroup("lsp_disable", { clear = true }) -vim.api.nvim_create_autocmd({ "LspAttach" }, { - group = lsp_grp, - callback = function(args) - if vim.bo.buftype == "nofile" then - local bufnr = args.buf - vim.diagnostic.enable(false, { bufnr = bufnr }) - for _, client in ipairs(vim.lsp.get_clients({ bufnr = bufnr })) do - vim.lsp.buf_detach_client(bufnr, client.id) - end - end - end + virtual_text = false, }) |