make sml keybindings only apply in sml files

This commit is contained in:
William Ball 2025-05-11 18:57:45 -07:00
parent 3593f1c153
commit 221bea9e0b
Signed by: wball
GPG key ID: B8682D8137B70765

View file

@ -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'
},
}
}