Andrew Xie

Results 44 comments of Andrew Xie
trafficstars

> Not sure but check this out https://github.com/antoinemadec/FixCursorHold.nvim ahahah I already use this plugin so CursorHold works now :) the timing thing is an issue tho. Also, I've created a...

Not sure where you define your setup for nvim-cmp, but you want to call `require("autolist").setup()` after defining the `cmp.mappings` when you setup nvim-cmp. > Nothing happens if I do >...

> @axieax You are talking about when Neo-tree is opened as a float window, right? yep!

Seems like opening the preview doesn't respect the position either. Would be nice if this layout takes the Neo-tree position into account, and fills the remaining space with the preview....

> :call suda#write('suda:///etc/foobar') No errors, working as expected > :echo substitute('suda:///etc/foobar', '\v^(suda://)+', '', '') /etc/foobar

Debugging: plugin/suda.vim - args in line 28: "/etc/environment" autoload/suda.vim - a:expr: `` - path in line 74 and onwards: "uda:///etc/environment"

Sometimes I have issues, sometimes not.. Successful (call `nvim /etc/environment` from user home directory, or `nvim environment` from /etc): ![image](https://user-images.githubusercontent.com/62098008/172047450-e8f03b6a-4626-4b4e-b80c-2fb8e14d07a2.png) Fail (call `nvim /etc/environment` from root directory): ![image](https://user-images.githubusercontent.com/62098008/172047542-38a38341-70c6-4884-b326-543b1289a3c1.png)

![image](https://user-images.githubusercontent.com/62098008/173403319-e90076b7-e746-487f-b894-2b59770eed22.png)

Thought this was an issue with my Linux permissions after removing some shada files, but it seems that I can also reproduce this on my Mac. Just wondering if you...

> Fail (call nvim /etc/environment from root directory) Then launch `:SudaWrite`