This config is based on kickstart and tjdevries-config. It's focused on PHP/Symfony development, but it has support for other languages as well. In section Stuff you might want to disable you can find instructions how to disable PHP/Symfony specific stuff.
general
- neovim - 0.11.5
snacks picker
- ripgrep - line-oriented search tool
lspconfig
- lua-language-server - Lua language server
- stylua - Lua code formatter
- intelephense - PHP language server
- vimfony - Symfony support for Neovim/Vim.
Those can be installed via your package manager or mason.nvim if you prefer that. I prefer to install those few via package manager, because I use NixOS and it's easier for me to manage those that way.
Mason is already included in this config and is installing some tools automatically. you can check :Mason or lua/custom/lsp.lua file to see which tools are installed via Mason.
Vimfony is in pretty early stage, so not all features may work as expected in this config.
If you don't use PHP/Symfony development, you might want to disable vimfony, intelephense LSP, PHP-CS-FIXER or phpstan diagnostics.
Vimfony can be disabled in lua/custom/lsp.lua file by commenting out or removing following lines:
require("custom.lsp.vimfony")Intelephense LSP can be disabled in lua/custom/lsp.lua file by removing it from servers list:
local servers = {
...
intelephense = {
settings = {
intelephense = {
files = {
exclude = workspace.get_vendor_excludes(),
},
},
},
},
...
}PHP-CS-Fixer can be disabled by removing it from lua/custom/lsp.lua file in conformformatters section:
PHPStan diagnostics can be disabled by deleting ale plugin configuration file `lua/custom/plugins/ale.lua`.
## Installation
1. Install requirements
2. Clone [this repository](https://github.com/mifka01/nvim) with `git`
```term
git clone https://github.com/mifka01/nvim.git ~/.config/nvimColorscheme: vim-moonfly-colors