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',
|
'<leader>rs',
|
||||||
[[:SMLReplStart<CR>]],
|
[[:SMLReplStart<CR>]],
|
||||||
desc = 'SML start repl'
|
desc = 'SML start repl',
|
||||||
|
ft = 'sml'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'<leader>rc',
|
'<leader>rc',
|
||||||
[[:SMLReplClear<CR>]],
|
[[:SMLReplClear<CR>]],
|
||||||
desc = 'SML clear repl'
|
desc = 'SML clear repl',
|
||||||
|
ft = 'sml'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'<leader>rb',
|
'<leader>rb',
|
||||||
[[:SMLReplBuild<CR>]],
|
[[:SMLReplBuild<CR>]],
|
||||||
desc = 'SML load current file/CM project in repl'
|
desc = 'SML load current file/CM project in repl',
|
||||||
|
ft = 'sml'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'<leader>ro',
|
'<leader>ro',
|
||||||
[[:SMLReplOpen<CR>]],
|
[[:SMLReplOpen<CR>]],
|
||||||
desc = 'SML open current structure in repl'
|
desc = 'SML open current structure in repl',
|
||||||
|
ft = 'sml'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue