From 856f919353dc96ac9817991052571938b26307e8 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Thu, 7 Apr 2022 16:47:12 +0200 Subject: [PATCH] Wrap md and adoc --- .config/nvim/ftplugin/asciidoc.lua | 1 + .config/nvim/ftplugin/gdscript.lua | 6 +----- .config/nvim/ftplugin/markdown.lua | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 .config/nvim/ftplugin/asciidoc.lua create mode 100644 .config/nvim/ftplugin/markdown.lua diff --git a/.config/nvim/ftplugin/asciidoc.lua b/.config/nvim/ftplugin/asciidoc.lua new file mode 100644 index 0000000..5db866a --- /dev/null +++ b/.config/nvim/ftplugin/asciidoc.lua @@ -0,0 +1 @@ +vim.wo.wrap = true diff --git a/.config/nvim/ftplugin/gdscript.lua b/.config/nvim/ftplugin/gdscript.lua index 6649171..c37615b 100644 --- a/.config/nvim/ftplugin/gdscript.lua +++ b/.config/nvim/ftplugin/gdscript.lua @@ -1,5 +1 @@ -local opt = vim.bo - --- - -opt.expandtab = false +vim.bo.expandtab = false diff --git a/.config/nvim/ftplugin/markdown.lua b/.config/nvim/ftplugin/markdown.lua new file mode 100644 index 0000000..5db866a --- /dev/null +++ b/.config/nvim/ftplugin/markdown.lua @@ -0,0 +1 @@ +vim.wo.wrap = true