diff options
Diffstat (limited to '.config/nvim/config.lua')
-rw-r--r-- | .config/nvim/config.lua | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua index dd3d9b0..8d595ee 100644 --- a/.config/nvim/config.lua +++ b/.config/nvim/config.lua @@ -41,6 +41,39 @@ options.builtin.treesitter.ensure_installed = "maintained" options.builtin.treesitter.autotag.enable = true options.builtin.treesitter.playground.enable = true +-- Formatters +-- python +options.lang.python.formatters = { + { + exe = "black", + args = {}, + }, +} + +options.lang.python.linters = { + { + exe = "flake8", + args = {}, + }, +} + +-- lua +options.lang.lua.formatters = { + { + exe = "stylua", + args = {}, + }, +} + +--json +options.lang.json.formatters = { + { + exe = "prettier", + args = {}, + }, +} + + options.plugins = { { "folke/twilight.nvim", |