Plug'dstein64/nvim-scrollview', {'branch':'main'}" mini mapPlug'gorbit99/codewindow.nvim'" pairPlug'windwp/nvim-autopairs'Plug'luochen1990/rainbow'Plug'tpope/vim-surround'" formatPlug'lukas-reineke/indent-blank
cpp = { "clang_format" }, lua = { "stylua" }, python = { "ruff_fix", "ruff_format" }, tex = { "latexindent" }, }, }) vim.keymap.set({ "n", "v" }, "<Leader>lf", function() conform.format({ lsp_fallback = true, async = false, timeout_ms = 1000, }) vim.cmd...
}endvim.opt.runtimepath:prepend(lazypath)--install pluginslocalplugins={'folke/tokyonight.nvim', {'stevearc/conform.nvim',config=function()require('conform').setup{log_level=vim.log.levels.DEBUG,format_on_save={timeout_ms=1000,lsp_fallback=false,quiet=true, },formatters_by_ft={lua={'...
提交 R Add missing argument to RCreateMenuItem (#825) 1个月前 doc Version 0.9.21 2个月前 ftdetect Update ftdetect 2年前 ftplugin Require nvim-0.8.0 tonvim_set_option_value() 1年前 hooks clang-format SortIncludes: Never 1年前 ...
"suggest.formatItems": ["abbr", "menu", "kind"], copilot.vim 提供选项时,无法使用 tab 切换 copilot.vim 对原生的 pumvisible() 进行了判定,所以你设置的 tab 可以正常工作,如果你需要 tab 优先执行切换选项,而不是完成 copilot 的选项,可以在 vimrc 中设置: let g:copilot_no_tab_map = v:true...
"let g:clang_format#auto_format_on_insert_leave=1 let g:clang_format#auto_format=1 " map to <Leader>cf in C++ code autocmd FileType c,cpp,objc nnoremap <buffer><Leader>cf :<C-u>ClangFormat<CR> autocmd FileType c,cpp,objc vnoremap <buffer><Leader>cf :ClangFormat<CR> "...
letg:airline#extensions#tabline#buffer_idx_format = { \'0':'0 ', \'1':'1 ', \'2':'2 ', \'3':'3 ', \'4':'4 ', \'5':'5 ', \'6':'6 ', \'7':'7 ', \'8':'8 ', \'9':'9 ' \} " 设置切换tab的快捷键 <\> + 切换到第i个 tab nmap ...
用来补全 C++和 golang. C++ 语言服务器后端有 clangd 与 ccls,可搜 github. clangd 在centos 上使用 dnf 直接安装,在 clang 的扩展包里。 cquery 是另外一个 c++ 语言服务器。cquery is no longer under development. clangd and ccls are both good replaceme... ...
# python pip install autopep8 # lua pacman -S stylua # js ts json html css yaml xml pacman -S prettier paru -S prettierd # nginx paru -S nginxbeautifier # shell pacman -S shfmt # c/cpp paru -S clang-format-static-bin # toml paru -S taplo # xml paru -S lemminx # nix par...
clang-format - Tool to format C/C++/… code according to a set of rules and heuristics. cljfmt - cljfmt is a tool for detecting and fixing formatting errors in Clojure code. cljstyle - Formatter for Clojure code. cmake_format - Parse cmake listfiles and format them nicely. codeql - ...