Comments (1)
Have you tried disabling Treesitter on large file? does that help?
If it does, you can disable it automatically, but adding following to treesitter opts
:
highlight = {
enable = true,
disable = function(_, buf)
local max_filesize = 100 * 1024 -- 100 KB
local ok, stats = pcall(vim.uv.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end
end,
},
This plugin https://github.com/LunarVim/bigfile.nvim claims to help in this area.
Also this Neovim patch should improve things I guess: neovim/neovim#26827
from vim-config.
Related Issues (20)
- Vimwiki and Zk workflow HOT 1
- Correct Persisted Setup HOT 1
- Problem parsing yaml files when used with VimR HOT 1
- Migrate to lazy.nvim HOT 2
- neo-tree dockerfile icon show HOT 2
- choose window not work HOT 4
- The plugins NOT installed which under `extras` folders HOT 2
- Allow lazy setup to be configurable HOT 2
- Lack of user plugins leads to error on startup HOT 1
- when open the golang code, why notice this icon
- Error loading lightbulb setup HOT 1
- keymap <Return>/za notice "no fold found" HOT 3
- Archiving null-ls HOT 1
- Error after loading any LSP HOT 4
- First time installation not working
- LazyExtras not persisted after install HOT 5
- Lots and lots of errors where LazyVim is not defined HOT 1
- Some icon (or character) display incorrectly in Search Prompt HOT 1
- Using Telescope live grep 'gr' from Neo-tree always navigate to the beginning of the file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-config.