Last used with Neovim v0.10.2 on WSL Ubuntu.
These instructions assume that dotfiles have been setup on Windows and Ubuntu.
-
Clone this repo to the proper directory:
git clone https://github.com/shyun3/nvimrc ~/.config/nvim
-
Start Neovim. Plugins should start automatically installing.
-
Run
:checkhealth
and resolve any issues. -
Restart Neovim. Installation should now be complete.
See the corresponding README.
- The example clangd config contains hints for
cross-compiling and resolving system header issues. The
clangd
system headers documentation is also helpful. - When specifying paths with embedded spaces in
compile_flags.txt
, do not introduce quotes or backslashes to escape as this will be handled byclangd
. For example:-Ipath with spaces
- Formatter options may be specified through a project top-level
pyproject.toml
, for example:Using the unstable option for black may be useful to have it break long strings, see the future style docs.[tool.black] unstable = true [tool.isort] profile = "black"
isort
can also be configured forblack
compatibility by specifying the profile (see docs). - Pyright can read type stubs placed in
the
typings
directory. This can be customized using thestubPath
option in thepyrightconfig.json
. See also Generating Type Stubs.
- Add snippets under the
UltiSnips/specific
directory for snippets that are meant to be machine-specific and not saved in the repo, see the UltiSnips plugin setup.