mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(format): changes comment to be like other one
This commit is contained in:
parent
5bee63a826
commit
d5f5b6e113
1 changed files with 3 additions and 1 deletions
|
|
@ -4,10 +4,12 @@ vim.g.maplocalleader = "\\"
|
||||||
|
|
||||||
-- LazyVim auto format
|
-- LazyVim auto format
|
||||||
vim.g.autoformat = true
|
vim.g.autoformat = true
|
||||||
-- LazyVim auto format mode (file | changes)
|
-- LazyVim auto format mode
|
||||||
|
-- Can be one of: file, changes
|
||||||
-- if set to changes only format actual changes based on git hunks
|
-- if set to changes only format actual changes based on git hunks
|
||||||
-- otherwise format all the file
|
-- otherwise format all the file
|
||||||
vim.g.formatmode = "file"
|
vim.g.formatmode = "file"
|
||||||
|
|
||||||
--- LazyVim auto format changes only mode will be ignored
|
--- LazyVim auto format changes only mode will be ignored
|
||||||
--- for these filetypes and fallback to file
|
--- for these filetypes and fallback to file
|
||||||
vim.g.format_range_exclude_ft = { "lua" }
|
vim.g.format_range_exclude_ft = { "lua" }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue