Skip to content

ktunprasert/nvim

Repository files navigation

Nvim-config

System dependencies

The following requirements are required for running the configuration distro

Name Why?
git Plugins management
npm Installing formatters as providers for null-ls
rg Live text search within the project
fd File searching with Telescope
lazygit Managing Git repositories
delta Git diff within LazyGit
aichat For generating AI commits 😉

Neovim version 0.8 and above is required

WSL Users

Name Why?
fzf Fuzzy search within fish
wslu xdg-open from wsl to Windows
omf-z Basically rupa-z but for fish
xh curl for the 21st century

Potential Manual Effort Required

  • lua/user/lsp/null-ls.lua disable binding for missing binary (eg. prettier)
  • lua/user/plugins/toggleterm.lua: define alternative shell if not using fish
  • lua/user/keymaps.lua: resolve any keymap conflicts

Initial setup

TreeSitter

Install syntax highlighter for any language you will be using with

:TSInstall python
:TSInstall php
:TSInstall go

or visit treesitter for more information

LSP & Linters & Formatters & Dap

Install the language server for the languages you will be using

:Mason

or visit mason for more information

Sources installed via Mason will be available through Null-ls as well for example installing python's black formatter then setting up a null-ls source

Null-ls None-ls

Use providers such as prettier to format JSON, YAML, TypeScript and JavaScript files. Since null-ls is deprecated it's recommended to use none-ls instead https://github.com/nvimtools/none-ls.nvim

Copilot

In order to use the Copilot AI autocompletion you must run the following command

:Copilot auth

About

Neovim configuration for personal use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published