diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2024-07-11 05:12:18 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2024-07-11 05:12:18 -0300 |
| commit | 1fd0af14d592d612c2aaab7717c04c8806ba3daa (patch) | |
| tree | 46aa59ff785305fcc05209091aecf64ca89e05fb /lua/plugins/treesitter-context.lua | |
| parent | fb448577edebb1b093e6cc097c201151385986f8 (diff) | |
| download | nvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.tar.gz nvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.zip | |
Feat: Todo actulizado
Diffstat (limited to 'lua/plugins/treesitter-context.lua')
| -rw-r--r-- | lua/plugins/treesitter-context.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/plugins/treesitter-context.lua b/lua/plugins/treesitter-context.lua new file mode 100644 index 0000000..0f68d08 --- /dev/null +++ b/lua/plugins/treesitter-context.lua @@ -0,0 +1,13 @@ +return { + 'nvim-treesitter/nvim-treesitter-context', + dependencies = { 'nvim-treesitter/nvim-treesitter' }, + event = { 'BufReadPre', 'BufNew', 'BufNewFile' }, + cmd = { + 'TSContextDisable', + 'TSContextEnable', + 'TSContextToggle', + }, + opts = { + max_lines = 8, + }, + } |