mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
fix(remap.lua): replace print statement with vim.notify to display error message with log level ERROR for unsupported filetypes
This commit is contained in:
@@ -97,7 +97,7 @@ vim.keymap.set("n", "<leader><leader>", function()
|
|||||||
if string.find(allowed_extensions, file_extension) then
|
if string.find(allowed_extensions, file_extension) then
|
||||||
vim.cmd("so %")
|
vim.cmd("so %")
|
||||||
else
|
else
|
||||||
print("Filetype not supported")
|
vim.notify("Filetype not supported", vim.log.levels.ERROR)
|
||||||
end
|
end
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user