mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-10 19:41:15 +02:00
nvim: improved guidelines for filetypes
This commit is contained in:
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 })
|
||||
|
Reference in New Issue
Block a user