opalmay
opalmay
I was missing the xorg-x11-server-Xwayland dependency
This is mainly because of Treesitter/syntax highlighting. You can create auto commands to disable it on large files (vscode does the same). It's not really a bug
> i tried to disable treesitter on json file,with the following settings, but the issue still happens > > ``` > require'nvim-treesitter.configs'.setup { > highlight = { > enable =...
hmm, it's probably some plugin or setting being expensive in large files. I might play around with it later and see if I can pinpoint the cause
> [test.7z.txt](https://github.com/LunarVim/LunarVim/files/9792378/test.7z.txt) > > Here you go a 7zip file disguised as txt > > This is just some sample data from [sql-test-data-generator](https://www.coderstool.com/sql-test-data-generator) repeated several times. Using the same autocommand...
> > Using the same autocommand by @LostNeophyte works for me in that file too. > > On my end opening the file takes a minute but then it works...
This works well for me, including much faster load (without the autocmd): ```lua vim.opt.redrawtime = 500 local function isLongBuf(_, bufnr) return vim.api.nvim_buf_line_count(bufnr) > 5000 end lvim.builtin.treesitter.highlight.disable = isLongBuf -- lvim.builtin.treesitter.matchup.disable...
```lua vim.opt.redrawtime = 500 local chunginess = {} -- Caching is hard function isChungusBuf(_, bufnr) if chunginess[bufnr] ~= nil then return chunginess[bufnr] end local file = vim.api.nvim_buf_get_name(bufnr) if not file...
Now we are just calling the upstream implementation: https://github.com/LunarVim/LunarVim/blob/48d1c38fa88dbfbaa35e81560cf0fa7d8793b195/lua/lvim/lsp/utils.lua#L172-L177 Can we still do anything to silence this notification?
I think it would be nice to have backspace on the new line toggle the comment off (rather than having to go into normal mode or pressing backspace a bunch...