diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-10-15 18:12:22 +0000 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-10-15 18:12:22 +0000 |
| commit | b589f7870d05af5670d2a1964bf834249280d399 (patch) | |
| tree | b1d95a6264027d21deb401759ccfec1898ad55f7 /mut | |
| parent | 4396dcc62119ea96e648bdf637ed785c224d3f03 (diff) | |
update stuff
Diffstat (limited to 'mut')
| m--------- | mut/dwmblocks | 0 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/init.fnl | 1 | ||||
| -rw-r--r-- | mut/neovim/fnl/conf/pkgs/lspconfig.fnl | 7 | ||||
| m--------- | mut/st | 0 |
4 files changed, 8 insertions, 0 deletions
diff --git a/mut/dwmblocks b/mut/dwmblocks deleted file mode 160000 -Subproject 50f519c335008abe52bab6a21db09df14076e36 diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl index 80393c5..62c74a9 100644 --- a/mut/neovim/fnl/conf/init.fnl +++ b/mut/neovim/fnl/conf/init.fnl @@ -7,6 +7,7 @@ (require :conf.settings) (require :conf.pkgs) (require :conf.nix-develop) +(require :conf.diagnostic) (tset _G :P (lambda [...] (let [inspected (icollect [_ v (ipairs [...])] diff --git a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl index 8a0bdce..f90339e 100644 --- a/mut/neovim/fnl/conf/pkgs/lspconfig.fnl +++ b/mut/neovim/fnl/conf/pkgs/lspconfig.fnl @@ -2,6 +2,13 @@ (local configs (require :lspconfig.configs)) (local {: attach} (require :conf.lsp)) +(lspconfig.rust_analyzer.setup + {:root_dir + (lspconfig.util.root_pattern + :.git + (vim.fn.getcwd)) + :on_attach attach}) + (lspconfig.pyright.setup {:root_dir (lspconfig.util.root_pattern :.git (vim.fn.getcwd)) :on_attach attach}) diff --git a/mut/st b/mut/st -Subproject e03a7d3f0b6bf4028389a82d372d0f89a922b9d +Subproject e0b285014d599ac4ee60f5d905884d8c6bb85ad |
