diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-03-18 17:16:52 +0100 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-03-18 17:16:52 +0100 |
| commit | d1b5872f8e1958b46ede7faf02f6abecc423eac9 (patch) | |
| tree | 08156bae01248c14e9873ba85ad585b29e1a84c4 /after/plugin/null-ls.lua | |
| parent | 86f114da90e46e588a5e0a193b6f33e49417c82e (diff) | |
| download | nvim-conf-d1b5872f8e1958b46ede7faf02f6abecc423eac9.tar.gz nvim-conf-d1b5872f8e1958b46ede7faf02f6abecc423eac9.zip | |
Add null ls and more config
Diffstat (limited to 'after/plugin/null-ls.lua')
| -rw-r--r-- | after/plugin/null-ls.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/after/plugin/null-ls.lua b/after/plugin/null-ls.lua new file mode 100644 index 0000000..5ee463c --- /dev/null +++ b/after/plugin/null-ls.lua @@ -0,0 +1,15 @@ +local ok, null_ls = pcall(require, "null-ls") + +if not ok then + return +end + +null_ls.setup({ + sources = { + null_ls.builtins.formatting.stylua, + null_ls.builtins.completion.spell, + null_ls.builtins.diagnostics.eslint, + null_ls.builtins.diagnostics.phpstan, + null_ls.builtins.hover.dictionary, + } +}) |