manjaro+nvim
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ yay kitty fish
|
|||||||
chsh -s /usr/bin/fish
|
chsh -s /usr/bin/fish
|
||||||
|
|
||||||
# code
|
# code
|
||||||
yay neovim tig stylua tmux diff-so-fancy ripgrep prettier jq git-lfs git-secret shfmt yq glow nvimpager
|
yay neovim tig stylua tmux diff-so-fancy ripgrep prettier jq git-lfs git-secret shfmt yq glow nvimpager git-delta
|
||||||
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
||||||
|
|
||||||
# file sync
|
# file sync
|
||||||
|
|||||||
+1
-2
@@ -390,7 +390,7 @@ require("lazy").setup({
|
|||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
["<C-Space>"] = cmp.mapping.complete(),
|
["<C-Space>"] = cmp.mapping.complete(),
|
||||||
["<C-e>"] = cmp.mapping.abort(),
|
["<C-e>"] = cmp.mapping.abort(),
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = true }),
|
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
cmp.setup.cmdline(":", {
|
cmp.setup.cmdline(":", {
|
||||||
@@ -550,7 +550,6 @@ require("lazy").setup({
|
|||||||
null_ls.builtins.formatting.shfmt.with({ extra_args = { "--indent", "4" } }),
|
null_ls.builtins.formatting.shfmt.with({ extra_args = { "--indent", "4" } }),
|
||||||
null_ls.builtins.formatting.stylua.with({ extra_args = { "--indent-type", "Spaces" } }),
|
null_ls.builtins.formatting.stylua.with({ extra_args = { "--indent-type", "Spaces" } }),
|
||||||
null_ls.builtins.formatting.yamlfmt,
|
null_ls.builtins.formatting.yamlfmt,
|
||||||
null_ls.builtins.formatting.yq,
|
|
||||||
},
|
},
|
||||||
-- on_attach = function(client, bufnr)
|
-- on_attach = function(client, bufnr)
|
||||||
-- if client.supports_method("textDocument/formatting") then
|
-- if client.supports_method("textDocument/formatting") then
|
||||||
|
|||||||
Reference in New Issue
Block a user