mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
nvim: improved guidelines for filetypes
This commit is contained in:
parent
e63be081b6
commit
7e7f1713ae
3
.config/nvim/after/ftplugin/html.lua
Normal file
3
.config/nvim/after/ftplugin/html.lua
Normal file
@ -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…
x
Reference in New Issue
Block a user