summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/lua.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/lua.lua')
-rw-r--r--.config/nvim/ftplugin/lua.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/nvim/ftplugin/lua.lua b/.config/nvim/ftplugin/lua.lua
index d0408a1..6e10a53 100644
--- a/.config/nvim/ftplugin/lua.lua
+++ b/.config/nvim/ftplugin/lua.lua
@@ -1,5 +1,2 @@
-options.lang.lua.formatters = {
- {
- exe = "stylua",
- },
-}
+local formatters = require "lsp.null-ls.formatters"
+formatters.setup { { exe = "stylua", filetypes = { "lua" } } }