Open ysl2 opened 1 year ago
reverse proxy for markdown preview plugin:
https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html https://httpd.apache.org/docs/2.4/howto/auth.html
https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/ https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
https://docs.haproxy.org/2.7/intro.html#3.3.1 https://www.haproxy.com/documentation/hapee/latest/security/authentication/basic-authentication/
i3config filetype lf filetype masm filetype and lsp,treesitters kitty filetype
go support
c filetype, might need to re-enable the indent setting in treesitter. Need to re-consider it.
c语言默认的注释,目前是 //
,但我希望用/* */
jinja2 support: lsp, linter, formatter https://github.com/yaegassy/coc-htmldjango
typst switch to new lsp: https://github.com/Myriad-Dreamin/tinymist
sourcery in coc-diagnostic
"diagnostic-languageserver.linters": {
"sourcery": {
"isStdout": true,
"isStderr": true,
"args": [
"review",
"--verbose",
"--csv",
"--no-summary",
"%file"
],
"command": "sourcery",
"formatPattern": [
"^[^,]*,(\\d*),([^,]*),(.*)$",
{
"line": 1,
"message": ["[", 2, "]: ", 3],
}
],
"sourceName": "sourcery",
}
},
git-blame
better plugin to replace distant
distant disabled now
Merge the :Bd
and :Bde
two plugins.
learn how to use vim-visual-multi
卡顿:
ruff might cause slow when switching to insert mode. Very slow.
dd删除一行的时候,在服务器上也会卡一下。因此需要查明原因
经常需要CocRestart
切换到nvim_lsp分支:
参考lunarvim、lazyvim和astronvim的插件。
黏贴的时候,有时候会贴出来v:null
考虑可能是yanky的问题。下次出现的时候,再禁用yanky测试一下。
nvim-tree里面对着pdf文件按s无法通过xdg-open直接打开。但是png图片可以。因此这可能是正常情况。
关键是如何配置default application。这是一个全局行为。
arieal.nvim:
如果开启了同一buffer的分屏情况下进行<Leader>v
,此时侧边栏的显示会出问题。
arieal 对于lua的字典,只显示config。比如在coc.lua文件里面。
在vim里面使用lazygit,如果squash commit,然后继续编辑文件,会提示:
nvim-autopairs已经提bug。等回复
inc rename,中间加入字符时,光标依然闪烁
cursor AI?
如果cmp补全了snippets,就会一直高亮去不掉。发现是上游neovim的问题
目前暂时通过切换到luasnip进行规避:https://github.com/ysl2/nvim/commit/f7e35971d4dbbbdbb9ec5e0cbd0dd7e7e89378f7 。等后续上游解决。
https://github.com/tpope/vim-scriptease https://github.com/echasnovski/mini.diff https://github.com/pwntester/octo.nvim https://github.com/hedyhli/outline.nvim