mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 19:41:15 +02:00
nvim: changed vim commands calling lua to just lua
This commit is contained in:
@@ -6,3 +6,6 @@ vim.api.nvim_create_autocmd({ 'BufEnter', 'FileType' },
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
vim.o.textwidth = 100
|
||||
|
||||
-- iamcco/markdown-preview.nvim
|
||||
vim.keymap.set('n', '<leader>p', ':MarkdownPreviewToggle<CR>', { noremap = true })
|
||||
|
@@ -5,3 +5,6 @@ vim.api.nvim_create_autocmd({ 'VimLeave' },
|
||||
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.softtabstop = 2
|
||||
|
||||
-- frabjous/knap
|
||||
vim.keymap.set('n', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })
|
||||
|
Reference in New Issue
Block a user