aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/compat.lua
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2021-01-27 15:09:02 +0100
committerMatthieu Coudron <mcoudron@hotmail.com>2021-01-31 00:18:22 +0100
commit3f81f5c7a451f93a48103af4f1c31fd5f31d687f (patch)
treea9759c653289a1f4f0a7f145ec72b7e95e4219b3 /runtime/lua/vim/compat.lua
parent8950f4e94af1534852cab5f41066d7c21330bd64 (diff)
downloadrneovim-3f81f5c7a451f93a48103af4f1c31fd5f31d687f.tar.gz
rneovim-3f81f5c7a451f93a48103af4f1c31fd5f31d687f.tar.bz2
rneovim-3f81f5c7a451f93a48103af4f1c31fd5f31d687f.zip
feat: adds vim.notify
Adds function to notify the user like this: `:lua vim.notify("hello user")` embeds log levels vim.log.levels. you can then reassign vim.notify to for instance ``` function notify_external(msg, log_level, opts) vim.fn.jobstart({"notify-send", msg }) end ```
Diffstat (limited to 'runtime/lua/vim/compat.lua')
0 files changed, 0 insertions, 0 deletions