[feat] Add forked version of anyrun
This commit is contained in:
25
config/nix/flake.lock
generated
25
config/nix/flake.lock
generated
@@ -8,15 +8,15 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701453400,
|
"lastModified": 1708281605,
|
||||||
"narHash": "sha256-hI9+KBShsSfvWX7bmRa/1VI20WGat3lDXmbceMZzMS4=",
|
"narHash": "sha256-I25ZCH4lr8upYUWolS1UXaq3xEfoMA20bjTHkB07cVU=",
|
||||||
"owner": "Kirottu",
|
"owner": "uttarayan21",
|
||||||
"repo": "anyrun",
|
"repo": "anyrun",
|
||||||
"rev": "e14da6c37337ffa3ee1bc66965d58ef64c1590e5",
|
"rev": "4673f0a6049329235597658f2494043b6b222e76",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Kirottu",
|
"owner": "uttarayan21",
|
||||||
"repo": "anyrun",
|
"repo": "anyrun",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -81,16 +81,17 @@
|
|||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dirtyRev": "0fd7377026e800022e661ae887b99a8ce7f1846d-dirty",
|
"lastModified": 1708279042,
|
||||||
"dirtyShortRev": "0fd7377-dirty",
|
|
||||||
"lastModified": 1708266468,
|
|
||||||
"narHash": "sha256-z2KAA2Jtphn8+psnDDZClhXG3N7zwNfBFrVu5lqrK6w=",
|
"narHash": "sha256-z2KAA2Jtphn8+psnDDZClhXG3N7zwNfBFrVu5lqrK6w=",
|
||||||
"type": "git",
|
"owner": "uttarayan21",
|
||||||
"url": "file:///home/servius/Projects/anyrun-rink"
|
"repo": "anyrun-rink",
|
||||||
|
"rev": "45feb4fb26f7a03fd99ff1d558c0eaf4e6862201",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"owner": "uttarayan21",
|
||||||
"url": "file:///home/servius/Projects/anyrun-rink"
|
"repo": "anyrun-rink",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crane": {
|
"crane": {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
anyrun = {
|
anyrun = {
|
||||||
url = "github:Kirottu/anyrun";
|
url = "github:uttarayan21/anyrun";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
anyrun-hyprwin = {
|
anyrun-hyprwin = {
|
||||||
@@ -33,8 +33,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
anyrun-rink = {
|
anyrun-rink = {
|
||||||
# url = "github:uttarayan21/anyrun-rink";
|
url = "github:uttarayan21/anyrun-rink";
|
||||||
url = "git+file:///home/servius/Projects/anyrun-rink";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
plugins = with inputs.anyrun.packages.${pkgs.system}; [
|
plugins = with inputs.anyrun.packages.${pkgs.system}; [
|
||||||
inputs.anyrun-nixos-options.packages.${pkgs.system}.default
|
inputs.anyrun-nixos-options.packages.${pkgs.system}.default
|
||||||
inputs.anyrun-hyprwin.packages.${pkgs.system}.default
|
inputs.anyrun-hyprwin.packages.${pkgs.system}.default
|
||||||
inputs.anyrun-rink.packages.${pkgs.system}.default
|
# inputs.anyrun-rink.packages.${pkgs.system}.default
|
||||||
# rink
|
# rink
|
||||||
applications
|
applications
|
||||||
websearch
|
websearch
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.bluetooth.enable = true;
|
||||||
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|||||||
@@ -105,22 +105,22 @@ vim.g.copilot_no_tab_map = true
|
|||||||
require('keymaps')
|
require('keymaps')
|
||||||
require('plugins')
|
require('plugins')
|
||||||
|
|
||||||
require 'nvim-treesitter.configs'.setup {
|
-- require 'nvim-treesitter.configs'.setup {
|
||||||
-- ensure_installed = "all",
|
-- -- ensure_installed = "all",
|
||||||
ensure_installed = { "c", "rust", "toml", "lua", "json", "python", "cmake", "make", "typescript", "bash", "cpp",
|
-- ensure_installed = { "c", "rust", "toml", "lua", "json", "python", "cmake", "make", "typescript", "bash", "cpp",
|
||||||
"comment", "css", "fish", "http", "html", "vim", "yaml" },
|
-- "comment", "css", "fish", "http", "html", "vim", "yaml" },
|
||||||
highlight = {
|
-- highlight = {
|
||||||
enable = true, -- false will disable the whole extension
|
-- enable = true, -- false will disable the whole extension
|
||||||
additional_vim_regex_highlighting = false,
|
-- additional_vim_regex_highlighting = false,
|
||||||
},
|
-- },
|
||||||
}
|
-- }
|
||||||
require('nvim-treesitter.install').compilers = { "gcc-11", "clang" }
|
-- require('nvim-treesitter.install').compilers = { "gcc-11", "clang" }
|
||||||
require('nvim-treesitter.parsers').get_parser_configs().just = {
|
-- require('nvim-treesitter.parsers').get_parser_configs().just = {
|
||||||
install_info = {
|
-- install_info = {
|
||||||
url = "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo
|
-- url = "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo
|
||||||
files = { "src/parser.c", "src/scanner.cc" },
|
-- files = { "src/parser.c", "src/scanner.cc" },
|
||||||
branch = "main",
|
-- branch = "main",
|
||||||
use_makefile = true, -- this may be necessary on MacOS (try if you see compiler errors)
|
-- use_makefile = true, -- this may be necessary on MacOS (try if you see compiler errors)
|
||||||
},
|
-- },
|
||||||
maintainers = { "@IndianBoy42" },
|
-- maintainers = { "@IndianBoy42" },
|
||||||
}
|
-- }
|
||||||
|
|||||||
@@ -4,51 +4,51 @@ local lspstatus = require 'lsp-status'
|
|||||||
local cmp_nvim_lsp = require 'cmp_nvim_lsp'
|
local cmp_nvim_lsp = require 'cmp_nvim_lsp'
|
||||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||||
|
|
||||||
if not vim.fn.filereadable('/etc/nix/nix.conf') then (
|
-- if not vim.fn.filereadable('/etc/nix/nix.conf') then (
|
||||||
require("mason-lspconfig").setup_handlers {
|
-- require("mason-lspconfig").setup_handlers {
|
||||||
function(server_name) -- default handler (optional)
|
-- function(server_name) -- default handler (optional)
|
||||||
lspconfig[server_name].setup {
|
-- lspconfig[server_name].setup {
|
||||||
on_attach = function(client, bufnr)
|
-- on_attach = function(client, bufnr)
|
||||||
lspstatus.on_attach(client, bufnr)
|
-- lspstatus.on_attach(client, bufnr)
|
||||||
if client.server_capabilities.inlayHintProvider then
|
-- if client.server_capabilities.inlayHintProvider then
|
||||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
-- vim.lsp.inlay_hint.enable(bufnr, true)
|
||||||
end
|
-- end
|
||||||
end,
|
-- end,
|
||||||
capabilities = capabilities,
|
-- capabilities = capabilities,
|
||||||
}
|
-- }
|
||||||
end,
|
-- end,
|
||||||
["rust_analyzer"] = function()
|
-- ["rust_analyzer"] = function()
|
||||||
vim.cmd([[autocmd BufEnter *.rs lua require("setup.rtools")]])
|
-- vim.cmd([[autocmd BufEnter *.rs lua require("setup.rtools")]])
|
||||||
end,
|
-- end,
|
||||||
["clangd"] = function()
|
-- ["clangd"] = function()
|
||||||
lspconfig.clangd.setup {
|
-- lspconfig.clangd.setup {
|
||||||
capabilities = capabilities,
|
-- capabilities = capabilities,
|
||||||
cmd = { "clangd" },
|
-- cmd = { "clangd" },
|
||||||
filetypes = { "c", "cpp", "objc", "objcpp" },
|
-- filetypes = { "c", "cpp", "objc", "objcpp" },
|
||||||
root_dir = lspconfig.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"),
|
-- root_dir = lspconfig.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"),
|
||||||
single_file_support = true,
|
-- single_file_support = true,
|
||||||
}
|
-- }
|
||||||
end,
|
-- end,
|
||||||
["ast_grep"] = function()
|
-- ["ast_grep"] = function()
|
||||||
lspconfig.ast_grep.setup {
|
-- lspconfig.ast_grep.setup {
|
||||||
cmd = { "sg", "lsp" },
|
-- cmd = { "sg", "lsp" },
|
||||||
filetypes = { "c", "cpp", "rust", "typescript" },
|
-- filetypes = { "c", "cpp", "rust", "typescript" },
|
||||||
root_dir = lspconfig.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"),
|
-- root_dir = lspconfig.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"),
|
||||||
single_file_support = true,
|
-- single_file_support = true,
|
||||||
}
|
-- }
|
||||||
end,
|
-- end,
|
||||||
['nil_ls'] = function()
|
-- ['nil_ls'] = function()
|
||||||
lspconfig.nil_ls.setup {
|
-- lspconfig.nil_ls.setup {
|
||||||
capabilities = capabilities,
|
-- capabilities = capabilities,
|
||||||
settings = {
|
-- settings = {
|
||||||
['nil'] = {
|
-- ['nil'] = {
|
||||||
formatting = {
|
-- formatting = {
|
||||||
command = { "nixfmt" },
|
-- command = { "nixfmt" },
|
||||||
}
|
-- }
|
||||||
}
|
-- }
|
||||||
}
|
-- }
|
||||||
};
|
-- };
|
||||||
end
|
-- end
|
||||||
}
|
-- }
|
||||||
)
|
-- )
|
||||||
end
|
-- end
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ return require('lazy').setup({
|
|||||||
'mhartington/formatter.nvim'
|
'mhartington/formatter.nvim'
|
||||||
|
|
||||||
},
|
},
|
||||||
-- 'christianrondeau/vim-base64',
|
|
||||||
|
|
||||||
{ 'tpope/vim-commentary', lazy = false },
|
{ 'tpope/vim-commentary', lazy = false },
|
||||||
{
|
{
|
||||||
@@ -45,10 +44,7 @@ return require('lazy').setup({
|
|||||||
{ 'tpope/vim-vinegar', lazy = false },
|
{ 'tpope/vim-vinegar', lazy = false },
|
||||||
{ 'tpope/vim-abolish', lazy = false },
|
{ 'tpope/vim-abolish', lazy = false },
|
||||||
{ 'yuttie/comfortable-motion.vim', event = "BufEnter" },
|
{ 'yuttie/comfortable-motion.vim', event = "BufEnter" },
|
||||||
-- 'ruanyl/vim-gh-line',
|
|
||||||
{ 'rest-nvim/rest.nvim', event = "BufEnter" },
|
{ 'rest-nvim/rest.nvim', event = "BufEnter" },
|
||||||
-- 'b0o/SchemaStore.nvim',
|
|
||||||
-- 'rcarriga/nvim-notify',
|
|
||||||
{ 'echasnovski/mini.nvim', version = '*' },
|
{ 'echasnovski/mini.nvim', version = '*' },
|
||||||
{
|
{
|
||||||
'folke/todo-comments.nvim',
|
'folke/todo-comments.nvim',
|
||||||
@@ -61,21 +57,6 @@ return require('lazy').setup({
|
|||||||
-- cmd = "Copilot",
|
-- cmd = "Copilot",
|
||||||
-- },
|
-- },
|
||||||
-- 'ggandor/leap.nvim',
|
-- 'ggandor/leap.nvim',
|
||||||
{
|
|
||||||
'shortcuts/no-neck-pain.nvim',
|
|
||||||
cmd = { "NoNeckPain", "NoNeckPainResize", "NoNeckPainScratchPad", "NoNeckPainWidthUp", "NoNeckPainWidthDown" },
|
|
||||||
version = "*"
|
|
||||||
},
|
|
||||||
-- { 'folke/zen-mode.nvim', config = function() require('zen-mode').setup() end },
|
|
||||||
-- { 'folke/twilight.nvim', config = function() require('twilight').setup() end },
|
|
||||||
{
|
|
||||||
'pwntester/octo.nvim',
|
|
||||||
cmd = "Octo",
|
|
||||||
config = function()
|
|
||||||
require(
|
|
||||||
'octo').setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'sainnhe/sonokai',
|
'sainnhe/sonokai',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
@@ -83,14 +64,6 @@ return require('lazy').setup({
|
|||||||
require('colorscheme')
|
require('colorscheme')
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
-- {
|
|
||||||
-- "catppuccin/nvim",
|
|
||||||
-- name = "catppuccin",
|
|
||||||
-- lazy = false,
|
|
||||||
-- config = function()
|
|
||||||
-- require('colorscheme')
|
|
||||||
-- end
|
|
||||||
-- },
|
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
@@ -128,54 +101,43 @@ return require('lazy').setup({
|
|||||||
'nvim-telescope/telescope-fzf-native.nvim' }
|
'nvim-telescope/telescope-fzf-native.nvim' }
|
||||||
},
|
},
|
||||||
-- {
|
-- {
|
||||||
-- 'utilyre/barbecue.nvim',
|
-- 'akinsho/git-conflict.nvim',
|
||||||
-- event = "LspAttach",
|
|
||||||
-- version = "*",
|
-- version = "*",
|
||||||
-- config = function() require('barbecue').setup() end,
|
-- config = function()
|
||||||
-- dependencies = {
|
-- require('git-conflict').setup()
|
||||||
-- 'neovim/nvim-lspconfig',
|
-- end
|
||||||
-- 'SmiteshP/nvim-navic',
|
-- },
|
||||||
-- 'nvim-tree/nvim-web-devicons'
|
-- {
|
||||||
-- },
|
-- 'williamboman/mason.nvim',
|
||||||
|
-- cmd = { "Mason", "MasonInstall", "MasonUpdate", "MasonUninstall" },
|
||||||
|
-- config = function()
|
||||||
|
-- require("mason").setup({
|
||||||
|
-- ui = {
|
||||||
|
-- icons = {
|
||||||
|
-- package_installed = "✓",
|
||||||
|
-- package_pending = "➜",
|
||||||
|
-- package_uninstalled = "✗"
|
||||||
|
-- }
|
||||||
|
-- }
|
||||||
|
-- })
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
|
-- {
|
||||||
|
-- "williamboman/mason-lspconfig.nvim",
|
||||||
|
-- config = function()
|
||||||
|
-- require("mason-lspconfig").setup({
|
||||||
|
-- automatic_installation = true,
|
||||||
|
-- })
|
||||||
|
-- -- if not vim.fn.filereadable("/etc/nix/nix.conf") then (
|
||||||
|
-- -- require("mason-lspconfig").setup({
|
||||||
|
-- -- ensure_installed = { "lua_ls" },
|
||||||
|
-- -- automatic_installation = true,
|
||||||
|
-- -- })
|
||||||
|
-- -- )
|
||||||
|
-- -- end
|
||||||
|
-- end,
|
||||||
|
-- lazy = false,
|
||||||
-- },
|
-- },
|
||||||
{
|
|
||||||
'akinsho/git-conflict.nvim',
|
|
||||||
version = "*",
|
|
||||||
config = function()
|
|
||||||
require('git-conflict').setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'williamboman/mason.nvim',
|
|
||||||
cmd = { "Mason", "MasonInstall", "MasonUpdate", "MasonUninstall" },
|
|
||||||
config = function()
|
|
||||||
require("mason").setup({
|
|
||||||
ui = {
|
|
||||||
icons = {
|
|
||||||
package_installed = "✓",
|
|
||||||
package_pending = "➜",
|
|
||||||
package_uninstalled = "✗"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"williamboman/mason-lspconfig.nvim",
|
|
||||||
config = function()
|
|
||||||
require("mason-lspconfig").setup({
|
|
||||||
automatic_installation = true,
|
|
||||||
})
|
|
||||||
-- if not vim.fn.filereadable("/etc/nix/nix.conf") then (
|
|
||||||
-- require("mason-lspconfig").setup({
|
|
||||||
-- ensure_installed = { "lua_ls" },
|
|
||||||
-- automatic_installation = true,
|
|
||||||
-- })
|
|
||||||
-- )
|
|
||||||
-- end
|
|
||||||
end,
|
|
||||||
lazy = false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'NTBBloodbath/galaxyline.nvim',
|
'NTBBloodbath/galaxyline.nvim',
|
||||||
branch = 'main',
|
branch = 'main',
|
||||||
@@ -229,8 +191,6 @@ return require('lazy').setup({
|
|||||||
end,
|
end,
|
||||||
ft = "nu"
|
ft = "nu"
|
||||||
},
|
},
|
||||||
-- lsp
|
|
||||||
-- use { 'onsails/lspkind-nvim', config = function() require'lspkind'.init() end, }
|
|
||||||
{
|
{
|
||||||
'folke/trouble.nvim',
|
'folke/trouble.nvim',
|
||||||
cmd = {
|
cmd = {
|
||||||
@@ -348,117 +308,10 @@ return require('lazy').setup({
|
|||||||
'nvim-lua/lsp-status.nvim',
|
'nvim-lua/lsp-status.nvim',
|
||||||
event = "LspAttach"
|
event = "LspAttach"
|
||||||
},
|
},
|
||||||
-- {
|
|
||||||
-- 'ray-x/lsp_signature.nvim',
|
|
||||||
-- -- event = "LspAttach",
|
|
||||||
-- config = function()
|
|
||||||
-- require("lsp_signature").setup({
|
|
||||||
-- floating_window_above_cur_line = true,
|
|
||||||
-- })
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
{
|
{
|
||||||
'terrastruct/d2-vim',
|
'terrastruct/d2-vim',
|
||||||
ft = "d2",
|
ft = "d2",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'andweeb/presence.nvim',
|
|
||||||
config = function()
|
|
||||||
require "presence".setup({
|
|
||||||
auto_update = true,
|
|
||||||
main_image = "file",
|
|
||||||
})
|
|
||||||
end
|
|
||||||
},
|
|
||||||
-- {
|
|
||||||
-- 'ms-jpq/coq_nvim',
|
|
||||||
-- ft = { "rust", "toml", "lua" },
|
|
||||||
-- dependencies = { 'ms-jpq/coq.artifacts', 'ms-jpq/coq.thirdparty' },
|
|
||||||
-- build = ':COQdeps',
|
|
||||||
-- config = function()
|
|
||||||
-- vim.g.coq_settings.keymap = { jump_to_mark = "<c-j>" }
|
|
||||||
-- end
|
|
||||||
-- },
|
|
||||||
-- { 'ms-jpq/chadtree', build = ':CHADdeps' },
|
|
||||||
-- {
|
|
||||||
-- 'ms-jpq/coq.thirdparty',
|
|
||||||
-- config = function()
|
|
||||||
-- require("coq_3p")({
|
|
||||||
-- {
|
|
||||||
-- src = "repl",
|
|
||||||
-- sh = "sh",
|
|
||||||
-- shell = { p = "perl", n = "node" },
|
|
||||||
-- max_lines = 99,
|
|
||||||
-- deadline = 500,
|
|
||||||
-- unsafe = { "rm", "poweroff", "mv" }
|
|
||||||
-- },
|
|
||||||
-- { src = "bc", short_name = "MATH", precision = 6 },
|
|
||||||
-- { src = "copilot", short_name = "COP", accept_key = "<C-l>" },
|
|
||||||
-- { src = "dap" }
|
|
||||||
-- })
|
|
||||||
-- end
|
|
||||||
-- },
|
|
||||||
-- use 'airblade/vim-rooter'
|
|
||||||
-- use({
|
|
||||||
-- "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
|
|
||||||
-- config = function()
|
|
||||||
-- require("lsp_lines").setup()
|
|
||||||
-- end,
|
|
||||||
-- })
|
|
||||||
|
|
||||||
{
|
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
|
||||||
config = function()
|
|
||||||
require("indent_blankline").setup {
|
|
||||||
show_end_of_line = true,
|
|
||||||
}
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'sindrets/diffview.nvim',
|
|
||||||
cmd = { "DiffviewOpen", "DiffviewClose", "DiffviewToggleFiles", "DiffviewFocusFiles", "DiffviewRefresh" },
|
|
||||||
dependencies = 'nvim-lua/plenary.nvim'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'akinsho/toggleterm.nvim',
|
|
||||||
cmd = "ToggleTerm",
|
|
||||||
config = function() require 'setup.toggleterm' end,
|
|
||||||
},
|
|
||||||
-- {
|
|
||||||
-- 'glepnir/dashboard-nvim',
|
|
||||||
-- config = function() require 'setup.dashboard' end,
|
|
||||||
-- },
|
|
||||||
|
|
||||||
{
|
|
||||||
'nvim-treesitter/nvim-treesitter',
|
|
||||||
build = ':TSUpdate'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'nvim-treesitter/nvim-treesitter-context',
|
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter' }
|
|
||||||
},
|
|
||||||
-- {
|
|
||||||
-- 'saecki/crates.nvim',
|
|
||||||
-- tag = 'v0.2.1',
|
|
||||||
-- dependencies = { 'nvim-lua/plenary.nvim' },
|
|
||||||
-- config = function()
|
|
||||||
-- require('crates').setup {
|
|
||||||
-- src = {
|
|
||||||
-- coq = {
|
|
||||||
-- enabled = true,
|
|
||||||
-- name = "crates.nvim",
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
-- {
|
|
||||||
-- 'simrat39/rust-tools.nvim',
|
|
||||||
-- ft = 'rust',
|
|
||||||
-- config = function()
|
|
||||||
-- require 'setup.rtools'
|
|
||||||
-- end,
|
|
||||||
-- },
|
|
||||||
{
|
{
|
||||||
'mrcjkb/rustaceanvim',
|
'mrcjkb/rustaceanvim',
|
||||||
version = '^3', -- Recommended
|
version = '^3', -- Recommended
|
||||||
@@ -467,21 +320,6 @@ return require('lazy').setup({
|
|||||||
require 'setup.rtools'
|
require 'setup.rtools'
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
-- " For luasnip users.
|
|
||||||
-- " Plug 'L3MON4D3/LuaSnip'
|
|
||||||
-- " Plug 'saadparwaiz1/cmp_luasnip'
|
|
||||||
|
|
||||||
-- " For ultisnips users.
|
|
||||||
-- " Plug 'SirVer/ultisnips'
|
|
||||||
-- " Plug 'quangnguyen30192/cmp-nvim-ultisnips'
|
|
||||||
|
|
||||||
-- " For snippy users.
|
|
||||||
-- " Plug 'dcampos/nvim-snippy'
|
|
||||||
-- " Plug 'dcampos/cmp-snippy'
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
dependencies = { "mfussenegger/nvim-dap" },
|
dependencies = { "mfussenegger/nvim-dap" },
|
||||||
@@ -528,15 +366,6 @@ return require('lazy').setup({
|
|||||||
end
|
end
|
||||||
|
|
||||||
},
|
},
|
||||||
-- {
|
|
||||||
-- 'phaazon/hop.nvim',
|
|
||||||
-- branch = 'v2', -- optional but strongly recommended
|
|
||||||
-- config = function()
|
|
||||||
-- -- you can configure Hop the way you like here; see :h hop-config
|
|
||||||
-- require 'hop'.setup { keys = 'etovxqpdygfblzhckisuran' }
|
|
||||||
-- end
|
|
||||||
-- },
|
|
||||||
-- https://github.com/simrat39/symbols-outline.nvim
|
|
||||||
{
|
{
|
||||||
'simrat39/symbols-outline.nvim',
|
'simrat39/symbols-outline.nvim',
|
||||||
cmd = "SymbolsOutline",
|
cmd = "SymbolsOutline",
|
||||||
@@ -560,49 +389,10 @@ return require('lazy').setup({
|
|||||||
--Please make sure you install markdown and markdown_inline parser
|
--Please make sure you install markdown and markdown_inline parser
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"cshuaimin/ssr.nvim",
|
|
||||||
module = "ssr",
|
|
||||||
-- Calling setup is optional.
|
|
||||||
config = function()
|
|
||||||
require("ssr").setup {
|
|
||||||
border = "rounded",
|
|
||||||
min_width = 50,
|
|
||||||
min_height = 5,
|
|
||||||
max_width = 120,
|
|
||||||
max_height = 25,
|
|
||||||
keymaps = {
|
|
||||||
close = "q",
|
|
||||||
next_match = "n",
|
|
||||||
prev_match = "N",
|
|
||||||
replace_confirm = "<cr>",
|
|
||||||
replace_all = "<leader><cr>",
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"j-hui/fidget.nvim",
|
|
||||||
-- tag = "",
|
|
||||||
event = "LspAttach",
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"kdheepak/lazygit.nvim",
|
|
||||||
-- optional for floating window border decoration
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
},
|
|
||||||
cmd = { "LazyGit" }
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ron-rs/ron.vim",
|
"ron-rs/ron.vim",
|
||||||
ft = "ron",
|
ft = "ron",
|
||||||
},
|
},
|
||||||
-- require("copilot").setup({
|
|
||||||
-- suggestion = { enabled = false },
|
|
||||||
-- panel = { enabled = false },
|
|
||||||
-- })
|
|
||||||
{
|
{
|
||||||
"zbirenbaum/copilot.lua",
|
"zbirenbaum/copilot.lua",
|
||||||
cmd = "Copilot",
|
cmd = "Copilot",
|
||||||
|
|||||||
Reference in New Issue
Block a user