git clone https://github.com/pwnwriter/pwnvim ~/.config/nvim
nvim --headless +"Lazy! sync" +qa
[!IMPORTANT] This config requires latest [Neovim][Neovim] build !
You can Set NVIM_DEV
environment variable to modify where [lazy.nvim
][Lazy.nvim]
should look for dev = true
plugins.
To install [treesitter
][Treesitter] of x
language Run :TSInstall [x]
!
On [NIX
][Nix] , run nix develop
to enter a shell with pwnvim
.
Install lsp servers
and configure inside [lsp.lua
][LSP].
See [:help lspconfig-all
][Lspconfig] to get an understanding of how
you would setup a language server protocol.
-- plugins/lsp.lua
local lspconfig = require("lspconfig")
-- $ rustup component add rust-analyzer
lspconfig.rust_analyzer.setup({
cmd = { "rust-analyzer" },
})
Copyright © 2022 - present pwnwriter me 🍃 [Neovim]: https://github.com/neovim/neovim [Lazy.nvim]: https://github.com/folke/lazy.nvim [Lspconfig]: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md [Treesitter]: https://github.com/nvim-treesitter/nvim-treesitter [Mason]: https://github.com/williamboman/mason.nvim [LSP]: /lua/plugins/lsp.lua [Nix]: https://github.com/NixOS/nix