-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vim: enable sexp mappings for humans in info.rkt, zuo files
Using sexp#filetype#do_filetype() does establish the _base_ sexp mappings, which I have configured in links/vim/after/plugin/config/sexp.vim, but sexp_mappings_for_regular_people sets up autocommands based on g:sexp_filetypes. So we should set that correctly, and then use the appropriate filetypes in sexp#filetype#do_filetype().
- Loading branch information
Showing
3 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
" Language: info | ||
" Maintainer: Ben Knoble <[email protected]> | ||
|
||
call sexp#filetype#do_filetype('scheme') | ||
call sexp#filetype#do_filetype('racket-info') | ||
|
||
let b:interpreter = 'racket' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
" Language: zuo | ||
" Maintainer: Ben Knoble <[email protected]> | ||
|
||
call sexp#filetype#do_filetype('zuo') | ||
|
||
let b:interpreter = 'racket' | ||
|
||
nmap <buffer> <Localleader>qe ysiebaquote <Esc>:silent! call repeat#set("\<Localleader>qe", -1)<CR> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters