actually.nvim icon indicating copy to clipboard operation
actually.nvim copied to clipboard

fix: not running other autocmd

Open vunhatchuong opened this issue 1 year ago • 0 comments

Problem:

Things like treesitter and lsp don't work correctly when using the plugin.

image

Notice my buffer has no treesitter highlight and bottom right says "No servers", you can run LspInfo to check that no clients are attached.


Solution:

Uses nested = true for the BufNewFile autocmd.

I honestly don’t fully understand why this works, which explains why my commit message description is so vague.

I copy what lewis6991/fileline.nvim does which works since it has the same workflow.

vunhatchuong avatar Dec 16 '24 13:12 vunhatchuong