Compare commits
3 commits
main
...
add-typos-
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | db89917840 | ||
Bruno BELANYI | e08f3e5b2e | ||
Bruno BELANYI | d6e77b62b4 |
7
.typos.toml
Normal file
7
.typos.toml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[default]
|
||||||
|
extend-ignore-re = [
|
||||||
|
# spellchecker:disable-line
|
||||||
|
"(?Rm)^.*(#|//|--)\\s*spellchecker:disable-line$",
|
||||||
|
# spellchecker:<on|off>
|
||||||
|
"(?s)(#|//|--)\\s*spellchecker:off.*?\\n\\s*(#|//|--)\\s*spellchecker:on",
|
||||||
|
]
|
|
@ -26,6 +26,10 @@
|
||||||
stylua = {
|
stylua = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typos = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -109,13 +109,13 @@ local keys = {
|
||||||
{ "yoc", desc = "Cursor line" },
|
{ "yoc", desc = "Cursor line" },
|
||||||
{ "yod", desc = "Diff" },
|
{ "yod", desc = "Diff" },
|
||||||
{ "yof", "<cmd>FormatToggle<CR>", desc = "LSP Formatting" },
|
{ "yof", "<cmd>FormatToggle<CR>", desc = "LSP Formatting" },
|
||||||
{ "yoh", desc = "Search high-lighting" },
|
{ "yoh", desc = "Search high-lighting" }, -- spellchecker:disable-line
|
||||||
{ "yoi", desc = "Case insensitive search" },
|
{ "yoi", desc = "Case insensitive search" },
|
||||||
{ "yol", desc = "List mode" },
|
{ "yol", desc = "List mode" },
|
||||||
{ "yon", desc = "Line numbers" },
|
{ "yon", desc = "Line numbers" },
|
||||||
{ "yop", "<Plug>(qf_loc_toggle)", desc = "Location list" },
|
{ "yop", "<Plug>(qf_loc_toggle)", desc = "Location list" },
|
||||||
{ "yoq", "<Plug>(qf_qf_toggle)", desc = "Quickfix list" },
|
{ "yoq", "<Plug>(qf_qf_toggle)", desc = "Quickfix list" },
|
||||||
{ "yor", desc = "Relative line numbers" },
|
{ "yor", desc = "Relative line numbers" }, -- spellchecker:disable-line
|
||||||
{ "you", desc = "Cursor column" },
|
{ "you", desc = "Cursor column" },
|
||||||
{ "yov", desc = "Virtual editing" },
|
{ "yov", desc = "Virtual editing" },
|
||||||
{ "yow", desc = "Text wrapping" },
|
{ "yow", desc = "Text wrapping" },
|
||||||
|
|
|
@ -12,8 +12,7 @@ let
|
||||||
movementKeys = [ "Left" "Down" "Up" "Right" ];
|
movementKeys = [ "Left" "Down" "Up" "Right" ];
|
||||||
vimMovementKeys = [ "h" "j" "k" "l" ];
|
vimMovementKeys = [ "h" "j" "k" "l" ];
|
||||||
shutdownMode =
|
shutdownMode =
|
||||||
"(l)ock, (e)xit, switch_(u)ser, (h)ibernate, (r)eboot, (Shift+s)hutdown";
|
"(l)ock, (e)xit, switch_(u)ser, (h)ibernate, (r)eboot, (Shift+s)hutdown"; # spellchecker:disable-line
|
||||||
|
|
||||||
# Takes an attrset of bindings for movement keys, transforms it to Vim keys
|
# Takes an attrset of bindings for movement keys, transforms it to Vim keys
|
||||||
toVimKeyBindings =
|
toVimKeyBindings =
|
||||||
let
|
let
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
})
|
})
|
||||||
(lib.optionalAttrs config.my.home.bluetooth.enable {
|
(lib.optionalAttrs config.my.home.bluetooth.enable {
|
||||||
block = "bluetooth";
|
block = "bluetooth";
|
||||||
mac = "F7:78:BA:76:52:F7";
|
mac = "F7:78:BA:76:52:F7"; # spellchecker:disable-line
|
||||||
format = " $icon MX Ergo{ $percentage|} ";
|
format = " $icon MX Ergo{ $percentage|} ";
|
||||||
disconnected_format = "";
|
disconnected_format = "";
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue