config: nvim: add linter/formatter support
This commit is contained in:
parent
c058fa22ea
commit
2c72b7c8dd
2 changed files with 19 additions and 0 deletions
|
|
@ -75,6 +75,23 @@ return require('packer').startup({
|
|||
config = load_config('lspconfig'),
|
||||
}
|
||||
|
||||
--------------------
|
||||
-- Linter/Formatter
|
||||
--------------------
|
||||
use { -- linter and formatter manager
|
||||
'jose-elias-alvarez/null-ls.nvim',
|
||||
after = {
|
||||
'mason.nvim',
|
||||
'plenary.nvim',
|
||||
},
|
||||
requires = { 'nvim-lua/plenary.nvim' },
|
||||
}
|
||||
use { -- compatibility layer between mason and null-ls
|
||||
'jayp0521/mason-null-ls.nvim',
|
||||
after = { 'null-ls.nvim' },
|
||||
config = load_config('null-ls')
|
||||
}
|
||||
|
||||
--------------------
|
||||
-- Snippets
|
||||
--------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue