mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-10 03:36:44 +02:00
neovim: Don't trim trailing whitespace on save
Fixes an issue where autosave would cause indentation to be lost due to editorconfig removing extra whitespace.
This commit is contained in:
parent
55c5078919
commit
6c14b37a9f
@ -73,12 +73,11 @@ in
|
|||||||
insert_final_newline = true;
|
insert_final_newline = true;
|
||||||
indent_size = 2;
|
indent_size = 2;
|
||||||
indent_style = "space";
|
indent_style = "space";
|
||||||
trim_trailing_whitespace = true;
|
trim_trailing_whitespace = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
"*.md" = {
|
"*.md" = {
|
||||||
indent_style = "tab";
|
indent_style = "tab";
|
||||||
trim_trailing_whitespace = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"Makefile" = {
|
"Makefile" = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user