summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
commit0f08d04698c814955116b6bae50752e64b774d8f (patch)
tree8cf9a33557093eebfd25aab2872e97639c7e2f62 /.config/nvim/after/ftplugin
downloaddots-0f08d04698c814955116b6bae50752e64b774d8f.tar.gz
Thu Dec 23 06:28:03 PM UTC 2021
Diffstat (limited to '.config/nvim/after/ftplugin')
-rwxr-xr-x.config/nvim/after/ftplugin/dhall.lua1
-rwxr-xr-x.config/nvim/after/ftplugin/dockerfile.lua4
-rwxr-xr-x.config/nvim/after/ftplugin/gitcommit.lua1
-rwxr-xr-x.config/nvim/after/ftplugin/javascript.lua3
-rwxr-xr-x.config/nvim/after/ftplugin/lua.lua6
-rwxr-xr-x.config/nvim/after/ftplugin/mail.lua4
-rwxr-xr-x.config/nvim/after/ftplugin/markdown.lua8
-rwxr-xr-x.config/nvim/after/ftplugin/nix.lua6
-rwxr-xr-x.config/nvim/after/ftplugin/python.lua1
-rwxr-xr-x.config/nvim/after/ftplugin/sh.lua1
-rwxr-xr-x.config/nvim/after/ftplugin/shell.lua0
-rwxr-xr-x.config/nvim/after/ftplugin/terraform.lua1
-rwxr-xr-x.config/nvim/after/ftplugin/typescript.lua2
-rwxr-xr-x.config/nvim/after/ftplugin/typescriptreact.lua2
-rwxr-xr-x.config/nvim/after/ftplugin/yaml.lua6
15 files changed, 46 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/dhall.lua b/.config/nvim/after/ftplugin/dhall.lua
new file mode 100755
index 0000000..8590c7f
--- /dev/null
+++ b/.config/nvim/after/ftplugin/dhall.lua
@@ -0,0 +1 @@
+require('ftplugin.common-space')
diff --git a/.config/nvim/after/ftplugin/dockerfile.lua b/.config/nvim/after/ftplugin/dockerfile.lua
new file mode 100755
index 0000000..7ec2e69
--- /dev/null
+++ b/.config/nvim/after/ftplugin/dockerfile.lua
@@ -0,0 +1,4 @@
+require('ftplugin.common-space')
+
+bo.smartindent = true
+bo.autoindent = true
diff --git a/.config/nvim/after/ftplugin/gitcommit.lua b/.config/nvim/after/ftplugin/gitcommit.lua
new file mode 100755
index 0000000..1747d21
--- /dev/null
+++ b/.config/nvim/after/ftplugin/gitcommit.lua
@@ -0,0 +1 @@
+-- au! VimEnter COMMIT_EDITMSG exec 'norm gg' | startinsert!
diff --git a/.config/nvim/after/ftplugin/javascript.lua b/.config/nvim/after/ftplugin/javascript.lua
new file mode 100755
index 0000000..b300057
--- /dev/null
+++ b/.config/nvim/after/ftplugin/javascript.lua
@@ -0,0 +1,3 @@
+bo.tabstop = 2
+bo.shiftwidth = 2
+bo.expandtab = true
diff --git a/.config/nvim/after/ftplugin/lua.lua b/.config/nvim/after/ftplugin/lua.lua
new file mode 100755
index 0000000..b89af72
--- /dev/null
+++ b/.config/nvim/after/ftplugin/lua.lua
@@ -0,0 +1,6 @@
+require('ftplugin.common-space')
+
+o.colorcolumn = '80'
+bo.tabstop = 2
+bo.softtabstop = 2
+bo.shiftwidth = 2
diff --git a/.config/nvim/after/ftplugin/mail.lua b/.config/nvim/after/ftplugin/mail.lua
new file mode 100755
index 0000000..7946291
--- /dev/null
+++ b/.config/nvim/after/ftplugin/mail.lua
@@ -0,0 +1,4 @@
+o.colorcolumn = '72'
+bo.textwidth = 72
+bo.formatoptions = 'watqc'
+bo.smartindent = false
diff --git a/.config/nvim/after/ftplugin/markdown.lua b/.config/nvim/after/ftplugin/markdown.lua
new file mode 100755
index 0000000..bfcca96
--- /dev/null
+++ b/.config/nvim/after/ftplugin/markdown.lua
@@ -0,0 +1,8 @@
+require('ftplugin.common-space')
+
+bo.tabstop = 2
+bo.shiftwidth = 2
+-- bo.formatoptions = 'watqc'
+bo.formatoptions = 'qc'
+bo.textwidth = 80
+o.colorcolumn = '80'
diff --git a/.config/nvim/after/ftplugin/nix.lua b/.config/nvim/after/ftplugin/nix.lua
new file mode 100755
index 0000000..4384a54
--- /dev/null
+++ b/.config/nvim/after/ftplugin/nix.lua
@@ -0,0 +1,6 @@
+require('ftplugin.common-space')
+
+bo.colorcolumn = '80'
+bo.tabstop = 2
+bo.softtabstop = 2
+bo.shiftwidth = 2
diff --git a/.config/nvim/after/ftplugin/python.lua b/.config/nvim/after/ftplugin/python.lua
new file mode 100755
index 0000000..b6c54ff
--- /dev/null
+++ b/.config/nvim/after/ftplugin/python.lua
@@ -0,0 +1 @@
+o.colorcolumn = '80'
diff --git a/.config/nvim/after/ftplugin/sh.lua b/.config/nvim/after/ftplugin/sh.lua
new file mode 100755
index 0000000..b6c54ff
--- /dev/null
+++ b/.config/nvim/after/ftplugin/sh.lua
@@ -0,0 +1 @@
+o.colorcolumn = '80'
diff --git a/.config/nvim/after/ftplugin/shell.lua b/.config/nvim/after/ftplugin/shell.lua
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/.config/nvim/after/ftplugin/shell.lua
diff --git a/.config/nvim/after/ftplugin/terraform.lua b/.config/nvim/after/ftplugin/terraform.lua
new file mode 100755
index 0000000..154ab2c
--- /dev/null
+++ b/.config/nvim/after/ftplugin/terraform.lua
@@ -0,0 +1 @@
+require('ftplugin.common-markup')
diff --git a/.config/nvim/after/ftplugin/typescript.lua b/.config/nvim/after/ftplugin/typescript.lua
new file mode 100755
index 0000000..97d0503
--- /dev/null
+++ b/.config/nvim/after/ftplugin/typescript.lua
@@ -0,0 +1,2 @@
+require('ftplugin')
+require('javascript')
diff --git a/.config/nvim/after/ftplugin/typescriptreact.lua b/.config/nvim/after/ftplugin/typescriptreact.lua
new file mode 100755
index 0000000..97d0503
--- /dev/null
+++ b/.config/nvim/after/ftplugin/typescriptreact.lua
@@ -0,0 +1,2 @@
+require('ftplugin')
+require('javascript')
diff --git a/.config/nvim/after/ftplugin/yaml.lua b/.config/nvim/after/ftplugin/yaml.lua
new file mode 100755
index 0000000..b89af72
--- /dev/null
+++ b/.config/nvim/after/ftplugin/yaml.lua
@@ -0,0 +1,6 @@
+require('ftplugin.common-space')
+
+o.colorcolumn = '80'
+bo.tabstop = 2
+bo.softtabstop = 2
+bo.shiftwidth = 2
remember that computers suck.