🪴 my neovim config:)
1
fork

Configure Feed

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

plugins: configure treesitter context

robin b291ff06 ad721535

+11 -1
+11 -1
config/lua/ivy/plugins/tree-sitter.lua
··· 3 3 "nvim-treesitter-context", 4 4 event = "UIEnter", 5 5 after = function() 6 + local exclude_filetypes = { "nix" } 7 + 6 8 require("treesitter-context").setup({ 7 - mode = "topline", 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 8 18 }) 9 19 end, 10 20 },