Why write buffer before jump? #857
-
Hi, I noticed that my setup was formatting my buffers when using goto definition. I looked at the code and here https://github.com/glepnir/lspsaga.nvim/blob/main/lua/lspsaga/definition.lua#L290 What is the reason for this? Can this be optional behaviour? Also I see here https://github.com/glepnir/lspsaga.nvim/blob/cc9c23488d01b2aa72961ed71b955073acbfb5e2/lua/lspsaga/finder.lua#L788-L790 I'm happy to raise PRs when I understand the reasons :) Thank you for your hard work |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
it work for the definition in same file. there can be |
Beta Was this translation helpful? Give feedback.
it work for the definition in same file. there can be
vim.cmd('noautocmd write')