diff options
author | kylo252 <[email protected]> | 2021-07-25 13:55:19 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-25 11:55:19 +0000 |
commit | e37a511abc1f6d6c6925719427f9890423f007f6 (patch) | |
tree | abaac43231db8210a6f5ec3c17ba662ead16b665 /utils | |
parent | 47c44ae248084bcd83e6b917ef0f87e092c66903 (diff) |
Fix ignored user autocommands (#1090)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/installer/lv-config.example-no-ts.lua | 4 | ||||
-rw-r--r-- | utils/installer/lv-config.example.lua | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/utils/installer/lv-config.example-no-ts.lua b/utils/installer/lv-config.example-no-ts.lua index 91c3b2ed..9e56de51 100644 --- a/utils/installer/lv-config.example-no-ts.lua +++ b/utils/installer/lv-config.example-no-ts.lua @@ -58,6 +58,8 @@ lvim.builtin.treesitter.highlight.enabled = true -- } -- Autocommands (https://neovim.io/doc/user/autocmd.html) --- lvim.autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}} +-- lvim.autocommands.custom_groups = { +-- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, +-- } -- Additional Leader bindings for WhichKey diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua index b8af5a80..e186af25 100644 --- a/utils/installer/lv-config.example.lua +++ b/utils/installer/lv-config.example.lua @@ -67,7 +67,10 @@ lvim.builtin.treesitter.highlight.enabled = true -- } -- } + -- Autocommands (https://neovim.io/doc/user/autocmd.html) --- lvim.autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}} +-- lvim.autocommands.custom_groups = { +-- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, +-- } -- Additional Leader bindings for WhichKey |