Skip to content

oblassov/init.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

init.lua

Very simple personal setup that works on any system

(kind of works, additional instuctions for Windows users are available in the end of this readme)

  • Neovim 0.11+ compatible (backwards compatibility is not going to be supported as long as neovim 1.0 is not out yet).
  • Prerequisites: ripgrep, fzf
  • Language specific tools, like lsp, formatters and linters require tools installed and environment variables set up accordingly (check inside lua/config/lsp.lua for required tools in the ensure_installed and servers tables).
  • Plugins are installed with Lazy.nvim and kept in a lua/config directory
  • Beware of the light mode (default colorscheme is tokyonight-day, configurable in colors.lua), ColorMyPencil command hotswaps the theme
  • Telescope, treesitter, treesitter-context, Fugitive, harpoon, undotree, trouble
  • peek for markdown files preview (deno is a prerequisite)
  • Simple LSP (documentation, autocomplete, autoformat) set up for Go (gopls and gofmt), Lua (luals and stylua) and Markdown (markdown-oxide)
  • Golangci-lint tool is setup to check for project config files and fallback to global config in the configured directory (~/.config/golangci-lint as the default path)
  • Remaps are kept simple and as close to defaults as possible. remaps.lua is for general remaps and plugin specific remaps are kept within plugin setup files
  • Heavily inspired by theprimeagen and kickstart setups
  • Contains a WIP version of termit plugin for split terminal window that keeps state

Windows support:

  • First check if you have required compilers installed to be able to build some of the extensions, i.e. treesitter build instructions
  • Check if you have 'HOME' in you environment variables, or change the corresponding line in set.lua accordingly.
  • Windows users need to comment out a line in undotree.lua that changes DIFF to FC

About

Personal Neovim init.lua configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages