Current section

Files

Jump to
nvim lib host plugin.ex
Raw

lib/host/plugin.ex

defmodule NVim.Host.Plugin do
use NVim.Plugin
command elixir_host_info do
message = """
Host version: #{Application.spec(:nvim)[:vsn]}
Running plugins: #{inspect NVim.PluginManager.started_plugins}
"""
NVim.Session.vim_command "echomsg '#{message}'"
end
end