mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
20 lines
362 B
Lua
20 lines
362 B
Lua
lvim.format_on_save = true
|
|
|
|
vim.opt.relativenumber = true
|
|
vim.opt.whichwrap = ""
|
|
|
|
local formatters = require "lvim.lsp.null-ls.formatters"
|
|
formatters.setup {
|
|
{ exe = "nixpkgs-fmt", filetypes = { "nix" } },
|
|
{ exe = "black", filetypes = { "python" } },
|
|
{
|
|
name = "prettier",
|
|
filetypes = {
|
|
"html",
|
|
"json",
|
|
"js",
|
|
"typescript",
|
|
"yaml"
|
|
},
|
|
},
|
|
}
|