Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-config

My Neovim config — LazyVim plus a few customizations.

Languages

Enabled via LazyVim extras (lazyvim.json) and a custom templ plugin:

  • Gogopls, gofumpt, goimports (lang.go)
  • Rustrustaceanvim + rust-analyzer, rustfmt (lang.rust)
  • TOML — (lang.toml)
  • templ — treesitter parser, the templ LSP, and templ fmt on save (lua/plugins/templ.lua; the templ binary is used from $PATH)

Layout

lua/plugins/ide-layout.lua makes it open like an IDE / the herdr file-viewer: a neo-tree explorer docked on the left (git status woven into the tree), the editor filling the right, opened automatically on startup. neo-tree is the sole explorer (snacks-explorer's netrw hijack is disabled so they don't fight).

Git: <leader>gg for lazygit (history/diffs/staging), <leader>ge for the git-changes view in the sidebar, gitsigns in the gutter.

Install

git clone <this repo> ~/.config/nvim
nvim   # first launch bootstraps lazy.nvim and installs everything

Needs the tree-sitter CLI on $PATH (the treesitter main branch compiles parsers with it), plus the per-language toolchains (go, rustup, templ).

About

My Neovim config — LazyVim + Go/Rust/templ + a file-viewer-style IDE layout.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages