一些重要的小建议 #49
Closed
cosmicethics
started this conversation in
General
Replies: 1 comment
-
感谢建议,设置镜像好像很实用。 试了一下padding,我觉得 0 也挺好的
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
小建议
前不久刚用的nvim,从作者的配置一步一步修改过来,在此非常感谢作者(我没买小册子,白嫖配置😂),让我不至于一头雾水扎进茫茫多的配置中。自己刚开始使用时,觉得很多插件用不着就删除了,后来又陆陆续续下载回来了,看来作者的配置真的足够合理,在这途中也发现了一些可以优化的地方:
lsp-installer和treesitter install都可以设置镜像(fastgit)
plugin-config/nvim-treesitter.lua 开头部分添加:
lsp/setup.lua setup()里面添加:
bufferline ui优化:最左边的buffer分隔符会卡到到nvim-tree里面,只需添加padding
offsets = { { filetype = "NvimTree", text = "File Explorer", highlight = "Directory", text_align = "left", + padding = 1, }, }
lualine-lsp-progress和fidget.nvim功能重复了,建议只留下fidget
不常用的功能,不要设置按键映射,使用:command就好了。
边用边优化中
Beta Was this translation helpful? Give feedback.
All reactions