Skip to content

My personal Neovim config

Notifications You must be signed in to change notification settings

TheBlob42/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVIM Config

My ever changing Neovim configuration

Installation

git clone https://github.com/TheBlob42/nvim-config.git ~/.config/nvim

Dependencies

Requires Neovim version 0.10.0

Some functionality is tailored towards the usage of a Linux operating system

¹At least version 2.2.2 to include codicons for nvim-dap-ui
²At least version 0.35.0 (to include the --no-separator option)

Optional Dependencies

System Configuration

For local system specific configuration check lua/user/local.lua.sample

There is some preconfigured configuration which is expected by other parts of the configuration (for example the path to your project directory). But you can also add any custom Lua code in their which you consider system specific. The local.lua file is on .gitignore so the system specific settings will not be checked into version control

Plugins

In order to install & update plugins lazy.nvim is being used, check the init.lua file for more details

LSP

Install LSP servers simply via the :Mason command

See the mason.nvim plugin for more information about available options

Depending on the LSP servers you might also need to fulfill additionally dependencies (e.g. java, node)

The following servers have been tested explicitly:

Troubleshooting

Treesitter

If treesitter does not initialize correctly check if you have a proper C compiler installed (more)

Cursor Color

Especially for the light theme the cursor color might be hard to see and read

To control the highlighting of the cursor by Neovim you can add the following to your local.lua file:

vim.opt.guicursor:append{ "a:Cursor" }

Beware that this will only affect the cursor background color. The foreground (font) color is always defined by the terminal. For this reason the setting is not set by default

For kitty check out the cursor_text_color background option in ~/.config/kitty/kitty.conf

About

My personal Neovim config

Topics

Resources

Stars

Watchers

Forks

Languages