feat(neovim): AWK LSP with required workarounds

- Disable lspsaga -> symbol_in_winbar for awk files
This commit is contained in:
Pratik Tripathy
2025-10-22 20:23:25 +05:30
parent f7123b0759
commit b3f19fede4
5 changed files with 16 additions and 8 deletions

View File

@@ -111,11 +111,13 @@ return {
{
"nvimdev/lspsaga.nvim",
event = { "FileType" },
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
config = function()
local disabled_filetypes = { "awk" }
require("lspsaga").setup({
ui = {
kind = require("config.util").icons.kind_lspsaga,
@@ -128,7 +130,10 @@ return {
sign = true,
priority = 100,
},
symbol_in_winbar = { enable = true, hide_keyword = true },
symbol_in_winbar = {
enable = not vim.tbl_contains(disabled_filetypes, vim.bo.filetype),
hide_keyword = true,
},
lightbulb = { virtual_text = false },
outline = { auto_preview = false },
})