nvim: improved guidelines for filetypes

master
tiyn 8 months ago
parent e63be081b6
commit 7e7f1713ae

@ -0,0 +1,3 @@
vim.o.shiftwidth = 2
vim.o.softtabstop = 2
vim.o.textwidth = 100

@ -25,6 +25,7 @@ vim.api.nvim_create_autocmd({ 'VimLeave' },
vim.o.shiftwidth = 2
vim.o.softtabstop = 2
vim.o.textwidth = 100
-- frabjous/knap
vim.keymap.set('n', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })

@ -108,7 +108,7 @@ vim.filetype.add({
nim = "nim",
py = "python",
sage = "python",
sh = "shell",
sh = "bash",
tex = "tex",
},
})

Loading…
Cancel
Save