-
I'm trying to migrate from |
Beta Was this translation helpful? Give feedback.
Answered by
fsouza
Feb 24, 2021
Replies: 1 comment 2 replies
-
You can use the function vim.cmd('lan en_US.utf-8') (on single arg function-calls, parenthesis are optional, so you could also do |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
uyha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the function
vim.cmd
to run commands, so for language you could do:(on single arg function-calls, parenthesis are optional, so you could also do
vim.cmd 'lan en_US.utf-8'
orvim.cmd'lan en_US.utf-8'
if that's a style you prefer)