Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 2.48 KB

README.md

File metadata and controls

52 lines (43 loc) · 2.48 KB

nvim config

Neovim config, crafted for nightly builds only! Configured in Lua.

Don't use what you don't understand.

nvim screenshot

pictured: Neovim running in WezTerm using font Maple Mono and colorscheme vim-colors-meh.
Tabline: the cwd is a project root; dev branch; there is one dirty buffer out of four total; and we are connected to nvim.sock
Winbar: Tree-sitter highlighting is enabled, orange filenames are dirty files, and there are no diagnostic issues.
Signs: gitsigns is active.
Status: Normal mode; type is searched with one occurrence found; ruler

Tool Link
Plugin manager lazy.nvim
Colorscheme vim-colors-meh
Status/tab/winbar heirline.nvim
LSP/tool manager mason.nvim
Local LSP efm-langserver
File finder fzf-lua

custom things

  • all mappings in mappings.lua
  • if using my dotfiles, e is the preferred way to open files.
    • it will create a new nvim.sock if one does not exist
    • it will use a single Neovim instance over the socket otherwise
  • if using my WezTerm config, <C-S-t> will toggle the terminal and Neovim theme between light and dark mode.
  • LSP/tool config is done in dko/tools.lua
    • coc.nvim for JS/TS(x) and JSON as it runs much faster for large codebases
      • can still trigger regular nvim-cmp completions for other LSPs using <C-Space>
  • formatting is handled in dko/utils/format.lua
    • of note is a pipeline that runs, based on project configuration one of:
      • ESLint exclusively
      • ESLint followed by prettier, or
      • prettier exclusively