mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-05 02:07:19 +00:00
basic: declare option to set smartcase or ignorecase
This commit is contained in:
parent
a338e4bf9f
commit
17d8409109
2 changed files with 18 additions and 0 deletions
|
|
@ -146,6 +146,18 @@ in {
|
|||
${optionalString (cfg.leaderKey != null) ''
|
||||
let mapleader = "${toString cfg.leaderKey}"
|
||||
''}
|
||||
${optionalString (cfg.searchCase == "ignore") ''
|
||||
set nosmartcase
|
||||
set ignorecase
|
||||
''}
|
||||
${optionalString (cfg.searchCase == "smart") ''
|
||||
set noignorecase
|
||||
set smartcase
|
||||
''}
|
||||
${optionalString (cfg.searchCase == "sensitive") ''
|
||||
set noignorecase
|
||||
set nosmartcase
|
||||
''}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue