File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -979,7 +979,7 @@ module Settings = {
979979 React .null
980980 }}
981981 <div className = "mt-6" >
982- <div className = titleClass > {React .string ("Vim" )} </div >
982+ <div className = titleClass > {React .string ("Use Vim Keymap " )} </div >
983983 <ToggleSelection
984984 values = [CodeMirror .KeyMap .Default , CodeMirror .KeyMap .Vim ]
985985 toLabel = {enabled =>
@@ -1485,8 +1485,8 @@ let make = (~versions: array<string>) => {
14851485 let (keyMap , setKeyMap ) = React .useState (() => {
14861486 Dom .Storage2 .localStorage
14871487 -> Dom .Storage2 .getItem ("vimMode" )
1488- -> Belt . Option .map (CodeMirror .KeyMap .fromString )
1489- -> Belt . Option .getWithDefault (CodeMirror .KeyMap .Default )
1488+ -> Option .map (CodeMirror .KeyMap .fromString )
1489+ -> Option .getOr (CodeMirror .KeyMap .Default )
14901490 })
14911491
14921492 React .useEffect1 (() => {
You can’t perform that action at this time.
0 commit comments