Skip to content

mifka01/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim configuration with Lua

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.

Requirements

general

snacks picker

  • ripgrep - line-oriented search tool

lspconfig

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.

Stuff you might want to disable

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/nvim

Appearance

Colorscheme: vim-moonfly-colors

License

MIT

About

Neovim configuration files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published