mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 03:30: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
|
||||
vim.cmd("so %")
|
||||
else
|
||||
print("Filetype not supported")
|
||||
vim.notify("Filetype not supported", vim.log.levels.ERROR)
|
||||
end
|
||||
end, opts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user