From 0f08d04698c814955116b6bae50752e64b774d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 23 Dec 2021 18:28:03 +0000 Subject: Thu Dec 23 06:28:03 PM UTC 2021 --- .config/nvim/after/ftplugin/dhall.lua | 1 + .config/nvim/after/ftplugin/dockerfile.lua | 4 ++++ .config/nvim/after/ftplugin/gitcommit.lua | 1 + .config/nvim/after/ftplugin/javascript.lua | 3 +++ .config/nvim/after/ftplugin/lua.lua | 6 ++++++ .config/nvim/after/ftplugin/mail.lua | 4 ++++ .config/nvim/after/ftplugin/markdown.lua | 8 ++++++++ .config/nvim/after/ftplugin/nix.lua | 6 ++++++ .config/nvim/after/ftplugin/python.lua | 1 + .config/nvim/after/ftplugin/sh.lua | 1 + .config/nvim/after/ftplugin/shell.lua | 0 .config/nvim/after/ftplugin/terraform.lua | 1 + .config/nvim/after/ftplugin/typescript.lua | 2 ++ .config/nvim/after/ftplugin/typescriptreact.lua | 2 ++ .config/nvim/after/ftplugin/yaml.lua | 6 ++++++ 15 files changed, 46 insertions(+) create mode 100755 .config/nvim/after/ftplugin/dhall.lua create mode 100755 .config/nvim/after/ftplugin/dockerfile.lua create mode 100755 .config/nvim/after/ftplugin/gitcommit.lua create mode 100755 .config/nvim/after/ftplugin/javascript.lua create mode 100755 .config/nvim/after/ftplugin/lua.lua create mode 100755 .config/nvim/after/ftplugin/mail.lua create mode 100755 .config/nvim/after/ftplugin/markdown.lua create mode 100755 .config/nvim/after/ftplugin/nix.lua create mode 100755 .config/nvim/after/ftplugin/python.lua create mode 100755 .config/nvim/after/ftplugin/sh.lua create mode 100755 .config/nvim/after/ftplugin/shell.lua create mode 100755 .config/nvim/after/ftplugin/terraform.lua create mode 100755 .config/nvim/after/ftplugin/typescript.lua create mode 100755 .config/nvim/after/ftplugin/typescriptreact.lua create mode 100755 .config/nvim/after/ftplugin/yaml.lua (limited to '.config/nvim/after/ftplugin') 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 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 -- cgit v1.2.3