Skip to content

koopa1338/nvim-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config

This repo contains my neovim config used as a submodule in my dotfiles.

start file finder auto completion

Setup

Prerequsites

For this config to work you need at least neovim 0.8 release installed, for full features use the current stable version. The easiest way if you already have installed the rust toolchain is to install a neovim version manager called bob otherwise download a release from the repo or install it through your package manager.

the wilder plugin is using python and requires the neovim packages installed with pip to work. NOTE Install these before you startup neovim for the first time otherwise the plugin will not pickup these packages and you have to manually reinstall wilder.

Installation

To enable this config clone this repository directly to ~/.config/nvim or create an symbolic link. On first startup the bootstrap process starts and installs all plugins. After that restart neovim and you should be good to go.

Language servers

To install a Language server use the :Mason command for the interface or install shorthand with :MasonInstall <language server name>. If you want custom options or didn't install the server via mason you have to add it to user_settings.lua (see Custom Settings)

Custom settings

For custom settings see plugin/user_settings.lua.example. Color settings can be done via lua/colors.lua, if not present colors fallback to a default theme

Snippets

To add your own snippets add a lua file named after the filetype in luasnippts/. For example a simple rust snippet would go into luasnippets/rust.lua:

return {
  s({
    trig = "tmod",
    namr = "test mod",
    dscr = "create mod for tests",
  }, {
    t "#[cfg(test)]",
    t { "", "mod test {" },
    t { "", "\tuse super::*;" },
    t { "", "" },
    t { "", "\t" },
    i(0),
    t { "", "}" },
  }),
}

About

personal nvim conf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published