PACK_DIR=${XDG_DATA_HOME:-$HOME/.local/share}/nvim/site/pack/user/start mkdir -p "$PACK_DIR" git clone --depth 1 --single-branch https://github.com/adoyle-h/one.nvim.git "$PACK_DIR"/one.nvim # Set your nvim config directory NVIM_HOME=${XDG_CONFIG_HOME:-$HOME/.config}/...
CONFIG DIRECTORY (DEFAULT) $XDG_CONFIG_HOME Nvim: stdpath("config") Unix: ~/.config ~/.config/nvim Windows: ~/AppData/Local ~/AppData/Local/nvim DATA DIRECTORY (DEFAULT) $XDG_DATA_HOME Nvim: stdpath("data") Unix: ~/.local/share ~/.local/share/nvim Windows: ~/AppData/Local ~...
" ===首次使用自动加载 if empty(glob('~/.config/nvim/autoload/plug.vim')) silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif let maplea...
Run tree-sitter generate in this directory (followed by tree-sitter test for good measure). Add the following snippet to your init.lua:local parser_config = require "nvim-treesitter.parsers".get_parser_configs() parser_config.zimbu = { install_info = { url = "~/projects/tree-sitter-zimb...
b、进行一些简单的设定。主要修改mason和TreeSitter。在plugings目录下增加一个myconfig.lua,添加下述内容 -- every spec file under the "plugins" directory will be loaded automatically by lazy.nvim -- -- In your plugin files, you can: -- * add extra plugins ...
When you run Neovim usingnvim-kickstartalias it will use the alternative config directory and the matching local directory~/.local/share/nvim-kickstart. You can apply this approach to any Neovim distribution that you would like to try out. ...
Run tree-sitter generate in this directory (followed by tree-sitter test for good measure). Add the following snippet to your init.lua:local parser_config = require "nvim-treesitter.parsers".get_parser_configs() parser_config.zimbu = { install_info = { url = "~/projects/tree-sitter-zimb...
If you want to get your current lualine config, you can do so with: require('lualine').get_config() Starting lualine require('lualine').setup() Setting a theme options={theme='gruvbox'} All available themes are listed inTHEMES.md. ...
MarkdownPreview Config: " set to 1, nvim will open the preview window after entering the Markdown buffer " default: 0 let g:mkdp_auto_start = 0 " set to 1, the nvim will auto close current preview window when changing " from Markdown buffer to another buffer " default: 1 let g...
Add support for configure g:coc_user_config and g:coc_global_extensions Add support for send request to coc on vim start. Add g:coc_start_at_startup support. Add configuration: coc.preferences.invalidInsertCharacters. Add configuration: coc.preferences.snippetStatusText. Add coc#_insert_key() ...