Skip to content

rmarquis/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim config

My Neovim config for Windows and Linux, using LSPs for Lua, Python and Zig.

Setup

Install:

  • neovim
  • fd
  • fzf

Clone the repository:

git clone https://github.com/rmarquis/nvim $HOME/.config/nvim
git clone https://github.com/rmarquis/nvim $HOME/AppData/Local/nvim

Language support

Lua

Built-in.

Mason tooling:

  • lua-language-server
  • stylua

Typscript

Built-in.

Mason tooling:

  • typescript-language-server

Python

Use rye to add the python interpreter in the path, then:

rye config --set-bool behavior.global-python=true
$HOME\.rye\shims\python.exe -m pip install pynvim

Install LSP components:

rye tools install python-lsp-server
rye tools install ruff-lsp

Mason tooling:

  • python-lsp-server
  • ruff-lsp

Zig

Ensure the zig executable is in the path.

Mason tooling:

  • zls

Plugins

Category Plugins
plugin manager lazy
completion nvim-cmp, cmp-nvim-lsp, cmp_luasnip, friendly-snippets
editing support autopairs
file explorer neotree
fuzzy finder telescope, telescope-ui-select
git gitsigns
lsp nvim-lspconfig, mason-lspconfig, mason, none-ls, treesitter
startup dashboard
statusline lualine
tabline barbar
theme nightfox (nordfox variant)
split and window smart-splits
keybinding whick-key

Resources

Global resources:

Inspiration:

Languages