A simple Neovim config with a custom theme. The theme is still under development, but it is functional. The main branch is primarily for linux, but it may run on MacOs as well. There is a windows branch, but I haven't developed that yet.
LSP:
- Rust-Analyzer provides support for rust files. Can be installed with most package managers.
- Pyright for Python support. Typically installed with npm, but you may be able to use a different package manager.
- Lua-Language-Server: best to just clone the repo from LuaLS.
- Make sure you modify the path for whatever shell you are using. Neovim normally looks for the LSP servers in your shell's path.
Options: I have relative line numbers set, and some automatic tabs to spaces conversions, as well as code folding enabled. There is a lot to add here, my config is very minimal so feel free to add whatever you'd like.
Keybindings:
- r sends Python script directly to repl and opens a repl inside of Neovim
- rl sends Lua script to the Lua-language-server
- Trying to integrate a function to open Cargo and compile rust projects as well.
- There are numerous other bindings for Nvim Tree and Autocomplete, just take a look at the comments inside of keybindings.lua.
Plugins:
- 'wbthomason/packer.nvim'
- 'neovim/nvim-lspconfig'
- 'nvim-lua/plenary.nvim'
- 'L3MON4D3/LuaSnip'
- 'terrortylor/nvim-comment'
- 'rktjmp/lush.nvim'
- 'nvim-treesitter/nvim-treesitter'
- 'hrsh7th/nvim-cmp'
- 'nvim-tree/nvim-tree.lua'
I am still adding more, but I try to keep it as minimal as possible. Feel free to fork it and add to it! I would love to see what other configs there are out there. Cheers!