Compare commits
2 Commits
27663861dc
...
bfd1fe67b3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bfd1fe67b3 | ||
|
|
dfb07cbf6b |
@@ -43,5 +43,3 @@ opt.splitbelow = true -- split horizontal window to the bottom
|
||||
|
||||
-- turn off swapfile
|
||||
opt.swapfile = false
|
||||
|
||||
-- opt.messagesopt = "wait:10000,history:50"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
-- https://github.com/saghen/blink.cmp
|
||||
return {
|
||||
'saghen/blink.cmp',
|
||||
"saghen/blink.cmp",
|
||||
-- optional: provides snippets for the snippet source
|
||||
dependencies = { 'rafamadriz/friendly-snippets' },
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
|
||||
-- use a release tag to download pre-built binaries
|
||||
version = '1.*',
|
||||
version = "1.*",
|
||||
-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||
-- build = 'cargo build --release',
|
||||
-- If you use nix, you can build from source using latest nightly rust with:
|
||||
@@ -25,12 +26,12 @@ return {
|
||||
-- C-k: Toggle signature help (if signature.enabled = true)
|
||||
--
|
||||
-- See :h blink-cmp-config-keymap for defining your own keymap
|
||||
keymap = { preset = 'default' },
|
||||
keymap = { preset = "default" },
|
||||
|
||||
appearance = {
|
||||
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||
-- Adjusts spacing to ensure icons are aligned
|
||||
nerd_font_variant = 'mono'
|
||||
nerd_font_variant = "mono",
|
||||
},
|
||||
|
||||
-- (Default) Only show the documentation popup when manually triggered
|
||||
@@ -39,7 +40,7 @@ return {
|
||||
-- Default list of enabled providers defined so that you can extend it
|
||||
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
default = { "lsp", "path", "snippets", "buffer" },
|
||||
},
|
||||
|
||||
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance
|
||||
@@ -47,7 +48,7 @@ return {
|
||||
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`
|
||||
--
|
||||
-- See the fuzzy documentation for more information
|
||||
fuzzy = { implementation = "prefer_rust_with_warning" }
|
||||
fuzzy = { implementation = "prefer_rust_with_warning" },
|
||||
},
|
||||
opts_extend = { "sources.default" }
|
||||
opts_extend = { "sources.default" },
|
||||
}
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
-- https://github.com/harrisoncramer/gitlab.nvim
|
||||
return {
|
||||
"harrisoncramer/gitlab.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"sindrets/diffview.nvim",
|
||||
"stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers.
|
||||
"nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree.
|
||||
},
|
||||
build = function () require("gitlab.server").build(true) end, -- Builds the Go binary
|
||||
build = function()
|
||||
require("gitlab.server").build(true)
|
||||
end, -- Builds the Go binary
|
||||
config = function()
|
||||
require("gitlab").setup()
|
||||
end,
|
||||
|
||||
@@ -12,27 +12,27 @@ return {
|
||||
icons = {
|
||||
package_installed = "✓",
|
||||
package_pending = "➜",
|
||||
package_uninstalled = "✗"
|
||||
}
|
||||
}
|
||||
}
|
||||
package_uninstalled = "✗",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"docker-language-server",
|
||||
"gitlab-ci-ls",
|
||||
"lua-language-server",
|
||||
"prettier",
|
||||
"prettierd",
|
||||
"stylua",
|
||||
"terraform-ls",
|
||||
"yaml-language-server",
|
||||
"docker-language-server", -- https://github.com/docker/docker-language-server
|
||||
"gitlab-ci-ls", -- https://github.com/alesbrelih/gitlab-ci-ls
|
||||
"lua-language-server", -- https://github.com/luals/lua-language-server
|
||||
"prettier", -- https://github.com/prettier/prettier
|
||||
"prettierd", -- https://github.com/prettier/prettier
|
||||
"stylua", -- https://github.com/JohnnyMorganz/StyLua
|
||||
"terraform-ls", -- https://github.com/hashicorp/terraform-ls
|
||||
"yaml-language-server", -- https://github.com/redhat-developer/yaml-language-server
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
-- https://github.com/folke/snacks.nvim
|
||||
return {
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000,
|
||||
@@ -54,10 +55,17 @@ return {
|
||||
{ icon = " ", key = "e", desc = "File Explorer", action = ":NvimTreeToggle" },
|
||||
{ icon = " ", key = "ff", desc = "Find File", action = ":Telescope find_files" },
|
||||
{ icon = " ", key = "fs", desc = "Find String", action = ":Telescope live_grep" },
|
||||
{ icon = " ", key = "s", desc = "Restore Session", action = ":AutoSession restore"},
|
||||
{ icon = " ", key = "s", desc = "Restore Session", action = ":AutoSession restore" },
|
||||
{ icon = " ", key = "L", desc = "Lazy UI", action = ":Lazy" },
|
||||
{ icon = " ", key = "M", desc = "Mason UI", action = ":Mason" },
|
||||
{ icon = " ", key = "G", desc = "LazyGit", action = function() Snacks.lazygit() end},
|
||||
{
|
||||
icon = " ",
|
||||
key = "G",
|
||||
desc = "LazyGit",
|
||||
action = function()
|
||||
Snacks.lazygit()
|
||||
end,
|
||||
},
|
||||
{ icon = " ", key = "q", desc = "Quit", action = ":qa" },
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
-- https://github.com/folke/trouble.nvim
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons", "folke/todo-comments.nvim" },
|
||||
|
||||
Reference in New Issue
Block a user