My neovim config.
- Lua 100%
|
|
||
|---|---|---|
| after/plugin | ||
| lua | ||
| spell | ||
| sqlfluff | ||
| .gitignore | ||
| .neoconf.json | ||
| CLAUDE.md | ||
| init.lua | ||
| LICENSE | ||
| README.md | ||
| stylua.toml | ||
NoeVim
Get it?
Installation
git clone https://github.com/TheNoeTrevino/NoeVim.git ~/.config/nvim
Demo
Dashboard
Neotree
Debugger
Peek Definition
Arch config. See that here
LSP NOTES
If you want to set a specific working directory for you lsps, you can do something like this:
local lspconfig = require('lspconfig')
lspconfig.angularls.setup({
root_dir = function(fname)
return vim.fn.getcwd() .. '/frontend'
end,
})
vim.o.exrc = true
vim.o.secure = true
How to trick mason into using a system install
rm -rf ~/.local/share/nvim/mason/packages/lua-language-server
rm ~/.local/share/nvim/mason/bin/lua-language-server
mkdir -p ~/.local/share/nvim/mason/packages/lua-language-server/libexec/bin
cp /usr/bin/lua-language-server ~/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/
chmod +x ~/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server
ln -s ~/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server \
~/.local/share/nvim/mason/bin/lua-language-server
Setting up firefox debugger
set these in the about:config page in firefox:
devtools.debugger.remote-enabled = true
devtools.chrome.enabled = true
devtools.debugger.prompt-connection = false