From c9e2adbbc8fd7a5398c8c66d21f0e02dc7b60203 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 8 Nov 2021 23:13:05 +0100 Subject: Add new lunarvin updates --- .config/nvim/ftplugin/lua.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '.config/nvim/ftplugin/lua.lua') 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" } } } -- cgit v1.2.3-70-g09d2