summaryrefslogtreecommitdiff
path: root/mut/neovim
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-10-12 17:15:08 +0000
committerMike Vink <ivi@vinkies.net>2024-10-12 17:15:08 +0000
commitf26c55d5bea46e0b4c0bed3ef3a1258b1b9e82dc (patch)
tree4a0f2284ae05771568efe2dbc323233c10f444bd /mut/neovim
parent7134976e1bd1ab8f6f0a85e9efe23b85f0d54250 (diff)
update
Diffstat (limited to 'mut/neovim')
-rw-r--r--mut/neovim/fnl/conf/init.fnl16
-rw-r--r--mut/neovim/fnl/conf/pkgs/lint.fnl3
-rw-r--r--mut/neovim/fnl/conf/pkgs/lspconfig.fnl2
3 files changed, 11 insertions, 10 deletions
diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl
index 840924f..28cb1f0 100644
--- a/mut/neovim/fnl/conf/init.fnl
+++ b/mut/neovim/fnl/conf/init.fnl
@@ -62,14 +62,14 @@
(local commenter (require :nvim_comment))
(commenter.setup)
-(local cinnamon (require :cinnamon))
-(cinnamon.setup {
- :extra_keymaps true
- :override_keymaps true
- :max_length 200
- :horizontal_scroll false
- :default_delay 7
- :scroll_limit -1})
+; (local cinnamon (require :cinnamon))
+; (cinnamon.setup {
+; :extra_keymaps true
+; :override_keymaps true
+; :max_length 200
+; :horizontal_scroll false
+; :default_delay 7
+; :scroll_limit -1})
(fn i-grep [word file]
diff --git a/mut/neovim/fnl/conf/pkgs/lint.fnl b/mut/neovim/fnl/conf/pkgs/lint.fnl
index ffd517b..d9a3c13 100644
--- a/mut/neovim/fnl/conf/pkgs/lint.fnl
+++ b/mut/neovim/fnl/conf/pkgs/lint.fnl
@@ -16,7 +16,8 @@
{:formatters_by_ft
{:python [:ruff_format :isort]
:go [:goimports]
- :terraform [:terraform_fmt]}
+ :terraform [:terraform_fmt]
+ :hcl [:terraform_fmt]}
:format_on_save
{:timeout_ms 500
:lsp_fallback false}})
diff --git a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
index 98dda2c..d1121f2 100644
--- a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
+++ b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl
@@ -23,7 +23,7 @@
:settings
{:venvPath (.. (vim.fn.getcwd) :.venv)}})
-(lspconfig.tsserver.setup
+(lspconfig.ts_ls.setup
{:root_dir
(lspconfig.util.root_pattern
:.git