mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 20:30:27 +01:00
stylua config for neovim config files
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
return {
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
|
||||
formatters_by_ft = {
|
||||
sh = { "shfmt" },
|
||||
bash = { "shfmt" },
|
||||
lua = { "stylua" },
|
||||
fish = { "fish_indent" },
|
||||
},
|
||||
},
|
||||
formatters_by_ft = {
|
||||
sh = { "shfmt" },
|
||||
bash = { "shfmt" },
|
||||
lua = { "stylua" },
|
||||
fish = { "fish_indent" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
5
.config/nvim/stylua.toml
Normal file
5
.config/nvim/stylua.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
column_width = 120
|
||||
[sort_requires]
|
||||
enabled = true
|
||||
Reference in New Issue
Block a user