mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 19:50:38 +00:00
The changes were made to add configuration for the null-ls plugin in the none-ls.lua file. This configuration enables formatting with the following tools: stylua, prettierd, shfmt, black, and rustfmt. This allows for consistent and automated formatting of code in the Lua project.
12 lines
264 B
Lua
12 lines
264 B
Lua
local null_ls = require("null-ls")
|
|
|
|
null_ls.setup({
|
|
sources = {
|
|
null_ls.builtins.formatting.stylua,
|
|
null_ls.builtins.formatting.prettierd,
|
|
null_ls.builtins.formatting.shfmt,
|
|
null_ls.builtins.formatting.black,
|
|
null_ls.builtins.formatting.rustfmt,
|
|
},
|
|
})
|