Mercurial > dotfiles
comparison dot_config/nvim/config.lua @ 405:34862cc22221
Add stylua formatting config
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 16 Jul 2021 18:31:20 +0200 |
parents | 04483ffbd282 |
children | 270a0f0f4c7f |
comparison
equal
deleted
inserted
replaced
404:04483ffbd282 | 405:34862cc22221 |
---|---|
412 | 412 |
413 null_ls.setup { | 413 null_ls.setup { |
414 on_attach = on_attach, | 414 on_attach = on_attach, |
415 sources = { | 415 sources = { |
416 null_ls.builtins.formatting.black, | 416 null_ls.builtins.formatting.black, |
417 null_ls.builtins.formatting.stylua, | |
417 }, | 418 }, |
418 } | 419 } |
419 | 420 |
420 -- Try importing local config | 421 -- Try importing local config |
421 local ok, localconfig = pcall(require, 'localconfig') | 422 local ok, localconfig = pcall(require, 'localconfig') |