Skip to content

mtp401/dot-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matt's neovim Setup

Installation

  1. Install luarocks
  2. git clone <dot-vim> ~/.config/nvim
  3. Install neovim, at least version 0.10.0.
  4. Run nvim then :checkhealth to ensure things installed successfully
  5. See additional things to potentially install in the following sections:

Migrating from Paq

Previously, I used to use Paq to manage my neovim plugins. If you are updating from one of my configurations that is using Paq you will need to delete Paq so it doesn't interfere with LazyVim. LazyVim will flag this in the output of :checkhealth along with the path Paq is being loaded from if you've forgotten where it's installed.

Overview

I use Chris Simpkins' Hack font on a black background with darkish grey text. If you don't want to go through the effort of installing a custom font, I at least recommend using a monospaced font. Bitstream Vera Mono is a great choice and is present on most systems by default.

Lualine

Lualine is used to provide extra statusline features. You'll need a suitable "nerd font" from Nerd Fonts installed for the various symbols to display correctly.

Telescope

LazyVim is setup to lazy load Telescope on demand when using the Telescope command.

You will need to optionally install ripgrep and fd to use the live_grep and find_files commands.

Linters

There are several linters configured out of the box via nvim-lint that you will need to install the actual linting programs for. See nvim-lint.lua for the list along with the commands commonly used to install them.

LSP Configuration

LSP configuration is provided by nvim-lspconfig and is setup by default to look for an LSP when editing C, C++, or Rust. You will need to install clangd and rust-analyzer.

Colorizer

nvim-colorizer is setup to be lazy loaded via the ColorizerAttachToBuffer command.

Syntax Highlighting

Most highlighting is done via nvim-treesitter. Treesitter modules are automatically kept to date by LazyVim. There are two additional plugins to provide highlighting for Jenkinfiles and jinja2 templates:

About

My personal (neo)vim setup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages