make sml keybindings only apply in sml files
This commit is contained in:
parent
3593f1c153
commit
221bea9e0b
1 changed files with 8 additions and 4 deletions
|
|
@ -8,22 +8,26 @@ return {
|
|||
{
|
||||
'<leader>rs',
|
||||
[[:SMLReplStart<CR>]],
|
||||
desc = 'SML start repl'
|
||||
desc = 'SML start repl',
|
||||
ft = 'sml'
|
||||
},
|
||||
{
|
||||
'<leader>rc',
|
||||
[[:SMLReplClear<CR>]],
|
||||
desc = 'SML clear repl'
|
||||
desc = 'SML clear repl',
|
||||
ft = 'sml'
|
||||
},
|
||||
{
|
||||
'<leader>rb',
|
||||
[[:SMLReplBuild<CR>]],
|
||||
desc = 'SML load current file/CM project in repl'
|
||||
desc = 'SML load current file/CM project in repl',
|
||||
ft = 'sml'
|
||||
},
|
||||
{
|
||||
'<leader>ro',
|
||||
[[:SMLReplOpen<CR>]],
|
||||
desc = 'SML open current structure in repl'
|
||||
desc = 'SML open current structure in repl',
|
||||
ft = 'sml'
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue