8 lines
190 B
Lua
8 lines
190 B
Lua
|
|
local function show_path()
|
||
|
|
local current_path = vim.fn.expand("%:p")
|
||
|
|
print("Current Path: " .. current_path)
|
||
|
|
end
|
||
|
|
|
||
|
|
vim.api.nvim_create_user_command("ShowPath", show_path, { nargs = "?" })
|
||
|
|
|