Skip to content

My neovim setup with code completion, support for rust, c/c++, zig and python debugging and syntax highlighting

License

Notifications You must be signed in to change notification settings

KatieUmbra/Neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Katherine's minimal neovim config

intro showcase

My custom minimal neovim configuration

Installation

Install requires Neovim 0.9+. Always review the code before installing a configuration.

Clone the repository:

git clone git@github.com:KatieUmbra/Neovim ~/.config/nvim

Install language servers:

available package managers: yay scoop

cd ~/.config/nvim/lsp-installer
python3 install-language-servers.py -p {REQUIRED: your system package manager, eg: yay, scoop, etc..}

Add lsp installation directores to path:

# example with cargo using zsh
# add this to the end of your .zshrc
export PATH="PATH:/home/{YOUR_USER_FOLDER}/.cargo/bin"

make sure you do the same for pip3 npm cargo and your package manager

Configuration

the config settings file resides in lua/settings.lua

Language Servers

all language servers in the array M.language_servers will be enabled, those not present will be disabled.

the available languages must be added with these names.

name package manager package name
lua default lua-language-server
rust default rust-analyzer
glsl default glsl_analyzer
c default clangd
cmake cargo neocmakelsp
yaml npm vscode-langservers-extracted
json npm vscode-langservers-extracted
docker compose npm @microsoft/compose-language-server
docker npm dockerfile-language-server-nodejs
vim npm vim-language-server
svelte npm svelte-language-server
tailwind npm @tailwindcss/language-server
toml npm @taplo/cli
sql npm sql-language-server
python pip python-lsp-server
M.language_servers = {
    "rust"
    ...
}

Colorscheme

currently there are only two colorschemes available, rosepine and carbonfox

M.colorscheme = "rosepine"

Features

Lsp

Lsp support for the following languages

  • Lua
  • Rust
  • Typescript
  • Json
  • Yaml
  • CMake
  • Css
  • Docker
  • Python
  • Vimscript
  • Svelte
  • Toml
  • Sql
  • GLSL

Dap

Debugging support for the following languages

  • C++
  • C
  • Python
  • Rust

Tmux

tmux seamless integration

Plugins

code-runner

color

colorscheme

completion

cursorline

debugging

dependency-management

editing-support

file-explorer

formatting

fuzzy-finder

indent

lsp

media

nvim-dev

plugin-manager

startup

statusline

syntax

tmux

utility

Work in progress

  • Missing Keymaps
  • Node debugging for Typescript
  • OneDark colorscheme support
  • Brew support
  • cmake debugging support

Acknowledgements

Part of this readme was generated by Dotfyle

About

My neovim setup with code completion, support for rust, c/c++, zig and python debugging and syntax highlighting

Topics

Resources

License

Stars

Watchers

Forks