diff options
author | LostNeophyte <[email protected]> | 2022-11-01 10:37:50 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-01 10:37:50 +0100 |
commit | 978ff7c24de968d5f2f956b72a196773ae80b903 (patch) | |
tree | f354951f609d37d6952c906c1439a7aa5175927f /lua/lvim/core/indentlines.lua | |
parent | eabf6c6990cb7ac9416b1733cf59c36c85f50777 (diff) |
perf(treesitter): disable in big files (#3268)
* perf(treesitter): disable in big files
* fix: disable `use_treesitter` in indentlines and remove vim.schedule
* refactor(treesitter): use `vim.schedule`
* perf: set nocursorline in big json files
* perf: disable more things in big files
* chore: format
Diffstat (limited to 'lua/lvim/core/indentlines.lua')
-rw-r--r-- | lua/lvim/core/indentlines.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lvim/core/indentlines.lua b/lua/lvim/core/indentlines.lua index dc4a72ba..1544b832 100644 --- a/lua/lvim/core/indentlines.lua +++ b/lua/lvim/core/indentlines.lua @@ -20,8 +20,8 @@ M.config = function() char = lvim.icons.ui.LineLeft, show_trailing_blankline_indent = false, show_first_indent_level = true, - use_treesitter = true, - show_current_context = true, + use_treesitter = false, + show_current_context = false, }, } end |