escape vim.cmd string

This commit is contained in:
Ivar Fatland
2026-04-22 12:17:10 +02:00
parent 88b4ed602b
commit 9cb4b145a7
+2 -2
View File
@@ -7,7 +7,7 @@ end
vim.g.python3_host_prog = get_python_venv_path()
-- GENERAL SETTINGS {{{1
vim.cmd [[
vim.cmd [=[
set autowriteall
set exrc
set secure
@@ -83,7 +83,7 @@ vim.cmd [[
set errorformat^=%C%*\\s——▶%*\\s%f:%l:%c
set errorformat^=%E%t%*[^:]:\ %m
]]
]=]
vim.keymap.set('n', ',cf', function()
local qf = vim.fn.getqflist()