File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 22(defconst cursorless-hats-file
33 (concat cursorless-directory " vscode-hats.json" ))
44
5- ; ; TODO: defcustom
6- (defconst cursorless-color-alist
7- '((default . " #999" ) (blue . " #04f" ) (red . " #e00" ) (green . " #0b0" )
8- (yellow . " #ffc000" )
9- (pink . " #ffa0ff" )))
10- ; ; (defconst cursorless-color-alist ; dark theme
11- ; ; '((default . "#999") (blue . "#0af") (red . "#f00") (pink . "#fa8072") (green . "#0a0")))
5+ (defcustom cursorless-color-alist
6+ '((default . " #999" )
7+ (blue . " #04f" )
8+ (red . " #e00" )
9+ (pink . " #ffa0ff" )
10+ (green . " #0b0" )
11+ (yellow . " ffc000" )
12+ (userColor1 . " #6a00ff" )
13+ (userColor2 . " #ffd8b1" ))
14+ " The mapping from cursorless color phrases to emacs colors."
15+ :group 'cursorless )
1216
1317(defvar cursorless-show-hats t )
1418
Original file line number Diff line number Diff line change 9494 :path (or (buffer-file-name ) :null )
9595 :temporaryFilePath (cursorless-temporary-file-path)
9696 :firstVisibleLine (line-number-at-pos (window-start ))
97- :lastVisibleLine (line-number-at-pos (- ( window-end ) 1 ))
97+ :lastVisibleLine (line-number-at-pos (window-end ))
9898 ; ; where the cursors are. in emacs, only one cursor, so a singleton vector.
9999 ; ; note that cursorless wants line/column, not offset.
100100 ; ; TODO: if transient-mark-mode is enabled, represent the whole selection.
You can’t perform that action at this time.
0 commit comments