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