neovim/init.lua

36 lines
1.4 KiB
Lua

--[[
My simple(TM) Neovim configuration. Made from scratch, inspired by
https://www.youtube.com/watch?v=w7i4amO_zaE
Later on, switched to native LSP setup with the help of
https://gpanders.com/blog/whats-new-in-neovim-0-11/
NOTE: EXTERNAL DEPENDENCIES MACOS
- ripgrep (https://github.com/BurntSushi/ripgrep, used by telescope)
- fd (https://github.com/sharkdp/fd, used by telescope)
- A Nerd font (https://www.nerdfonts.com/, used by various plugins)
NOTE: EXTERNAL DEPENDENCIES FREEBSD
- cmake, ripgrep (pkg install <pkgname>)
NOTE: EXTERNAL DEPENDENCIES LINUX (Arch)
- cmake, tree-sitter-cli, nodejs (pacman -S <pkgname>)
Make fzf work:
1. Go to ~/.local/share/nvim/lazy/telescope-fzf-native.nvim
2. Run `make`
NOTE: EXTERNAL DEPENDENCIES WINDOWS
See https://blog.nikfp.com/how-to-install-and-set-up-neovim-on-windows
- ripgrep (https://github.com/BurntSushi/ripgrep, used by telescope)
- fd (https://github.com/sharkdp/fd, used by telescope)
- A Nerd font (https://www.nerdfonts.com/, used by various plugins)
- nodejs-lts (used for npm to install prettier)
- then run "npm i -g npm"
- zig, wget, unzip, git, fzf
- make, mingw (MartinStorsjo.LLVM-MinGW.MSVCRT), cmake (https://github.com/nvim-telescope/telescope-fzf-native.nvim#installation)
Then run "mingw32-make.exe" in your users telescope-fzf-native plugin directory:
C:\Users\foobar\AppData\Local\nvim-data\lazy\telescope-fzf-native.nvim
--]]
-- Include my custom configuration
require("weeheavy")