From: Stefan Huber Date: Sat, 8 Mar 2025 11:59:32 +0000 (+0100) Subject: mason: Add lua formatter stylua X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=3b8409254a6703419b24451754bf3850a9bc08fd;p=vimconf.git mason: Add lua formatter stylua --- diff --git a/plugins-full.vim.example b/plugins-full.vim.example index 800fc76..07b473c 100644 --- a/plugins-full.vim.example +++ b/plugins-full.vim.example @@ -244,7 +244,6 @@ EOF } } }) - require("mason-lspconfig").setup() require("mason-lspconfig").setup({ ensure_installed = { -- Latest before switching to Java 18 @@ -295,6 +294,7 @@ EOF json = require('formatter.filetypes.json').jq, python = { require("formatter.filetypes.python").autopep8 }, xml = { require("formatter.filetypes.xml").xmllint }, + lua = { require("formatter.filetypes.lua").stylua }, -- Use the special "*" filetype for defining formatter configurations on -- any filetype