Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.45 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.45 KB

My Neovim Config

Install

just clone it:

Windows with CMD:

cd /d %LOCALAPPDATA%
del /s /q nvim
git clone https://github.com/laxtiz/nvim.git nvim

Windows with PowerShell[Core]:

cd $env:LOCALAPPDATA
Remove-Item -Recurse -Force nvim
git clone https://github.com/laxtiz/nvim.git nvim

Unix with Bash:

cd ~/.config
rm -rf nvim
git clone https://github.com/laxtiz/nvim.git nvim

About plugins

Plugin manager packer.nvim will auto install and sync other plugins when first launch vim with my config.

By the way. you can manual sync plugins with vim command :PackerSync

TreeSitter

I use tree-sitter render syntax highlight, so you need any C Compiler, like gcc/vc/clang/zig.

Besure you have any of these compilers, then run command :TSInstall all in nvim.

Language Server Protocol

Neovim provides an LSP client, but the servers are provided by third parties.

I use nvim-lspconfig and null-ls to configure LSP servers.

use mason.nvim install LSP servers. Run :Mason open mason user-interface, then install any you wanted.

About performance

review startup-time with command :StarupTime.