summaryrefslogtreecommitdiff
path: root/.config/nvim/after/ftplugin/xhtml.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/ftplugin/xhtml.lua')
-rw-r--r--.config/nvim/after/ftplugin/xhtml.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/xhtml.lua b/.config/nvim/after/ftplugin/xhtml.lua
new file mode 100644
index 0000000..b249bcc
--- /dev/null
+++ b/.config/nvim/after/ftplugin/xhtml.lua
@@ -0,0 +1,9 @@
+local setlocal = vim.opt_local
+
+setlocal.expandtab = true
+setlocal.tabstop = 2
+setlocal.softtabstop = 2
+setlocal.shiftwidth = 2
+
+vim.keymap.set("", "<F6>", ":!firefox %<CR>", { noremap = true, silent = true })
+setlocal.formatoptions:remove { "o" }