🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

plugins: remove redundant config field in tree-sitter-context spec

robin 6d6ce285 37c60ce9

-19
-19
config/lua/ivy/plugins/tree-sitter.lua
··· 2 2 { 3 3 "nvim-treesitter-context", 4 4 event = "UIEnter", 5 - config = function() 6 - local exclude_filetypes = { "nix" } 7 - 8 - require("treesitter-context").setup({ 9 - mode = "cursor", 10 - multiwindow = true, 11 - on_attach = function(buf) 12 - if vim.tbl_contains(exclude_filetypes, vim.bo[buf].filetype) then 13 - return false 14 - end 15 - 16 - return true 17 - end, 18 - }) 19 - 20 - vim.once.ColorScheme(function() 21 - vim.api.nvim_set_hl(0, "TreesitterContext", { link = "Normal" }) 22 - end) 23 - end, 24 5 }, 25 6 }