16 Commits

Author SHA1 Message Date
143ca6b166 Added colorizer 2025-09-20 13:17:49 -04:00
f7f6dc35e1 Added devdocs keybind
Ctrl-X Ctrl-d
2025-09-19 14:37:38 -04:00
c12621a215 Working on completion engine 2025-09-19 14:09:35 -04:00
0b240bf871 Working on completion engine 2025-09-19 13:57:37 -04:00
e3a19d78b5 Adjusting fzf-lua init 2025-09-19 10:30:35 -04:00
239149d1d3 Added arduino-nvim 2025-09-18 21:38:21 -04:00
4af56857b4 Added arduino-nvim 2025-09-18 21:32:48 -04:00
d81ff48af0 Added arduino-nvim 2025-09-18 21:28:09 -04:00
f0cd5945e1 Updating cyberdream colorscheme 2025-09-17 13:54:10 -04:00
20165cfee1 Changing colorscheme to cyberdream 2025-09-17 13:21:09 -04:00
6d2ae4db0e Changing colorscheme to cyberdream 2025-09-17 13:07:01 -04:00
cc174a1ec8 removing noice for lack of @ messages 2025-09-15 13:18:29 -04:00
a9e3cd2d68 trying to fix @ messages 2025-09-15 13:15:31 -04:00
eba485e086 Added Zsh as shell and noice macro messages 2025-09-15 13:04:31 -04:00
6d181f0f4b Activated Noice 2025-09-14 13:23:08 -04:00
fcc084630a Adjusting COC 2025-09-14 01:38:21 -04:00
11 changed files with 63 additions and 633 deletions

View File

@@ -8,13 +8,11 @@ require("utils.reload") -- ./lua/utils/reload.lua
require("vimwiki") -- ./lua/vimwiki.lua
require("keymaps") -- ./lua/keymaps.lua
require("lsp") -- ./lua/lsp.lua
-- require("godot") -- ./lua/godot.lua
-- require("completion") -- ./lua/completion.lua
require("coc") -- ./lua/coc.lua
require("treesitter") -- ./lua/treesitter.lua
require("autocmds") -- ./lua/autocmds.lua
require("diagnostics") -- ./lua/diagnostics.lua
require("avante_settings") -- ./lua/avante_settings.lua
require('telescope_configuration') -- ./lua/telescope_configuration.lua
local function cyberdream()
@@ -34,7 +32,7 @@ local function cyberdream()
-- Set terminal colors used in `:terminal`
terminal_colors = true,
-- Improve start up time by caching highlights. Generate cache with :CyberdreamBuildCache and clear with :CyberdreamClearCache
cache = true,
cache = false,
-- Override highlight groups with your own colour values
-- highlights = {
-- -- Highlight groups to override, adding new groups is also possible
@@ -69,16 +67,11 @@ local function cyberdream()
-- },
-- Disable or enable colorscheme extensions
extensions = {
telescope = true,
notify = true,
mini = true,
treesitter = true,
whichkey = true,
treesittercontext = true,
markdown = true,
snacks = true,
trouble = true,
-- More extensions can be found in `lua/cyberdream/extensions/*.lua`
telescope = true,
notify = true,
mini = true,
treesitter = true,
-- More extensions can be found in `lua/cyberdream/extensions/*.lua`
}
})
end
@@ -99,36 +92,6 @@ if host == "xps13" then
-- },
-- })
-- })
elseif host == "cachyos" then
cyberdream()
-- require('tokyonight').setup({
-- style = "storm", -- "storm", "moon", "day", "night"
-- transparent = false, -- Enable transparent background
-- terminal_colors = true, -- Enable terminal colors
-- styles = {
-- comments = { italic = true }, -- Italic comments
-- keywords = { italic = true }, -- Italic keywords
-- functions = { bold = true }, -- Bold functions
-- variables = {}, -- No special style for variables
-- sidebars = "dark", -- Dark sidebars
-- floats = "dark", -- Dark floating windows
-- },
-- })
elseif host == "Vector" then
cyberdream()
-- require('tokyonight').setup({
-- style = "storm", -- "storm", "moon", "day", "night"
-- transparent = false, -- Enable transparent background
-- terminal_colors = true, -- Enable terminal colors
-- styles = {
-- comments = { italic = true }, -- Italic comments
-- keywords = { italic = true }, -- Italic keywords
-- functions = { bold = true }, -- Bold functions
-- variables = {}, -- No special style for variables
-- sidebars = "dark", -- Dark sidebars
-- floats = "dark", -- Dark floating windows
-- },
-- })
elseif host == "Titan" then
cyberdream()
-- require('tokyonight').setup({

View File

@@ -1,9 +0,0 @@
local vim = vim
local port = os.getenv 'GDScript_Port' or '6005'
local cmd = vim.lsp.rpc.connect('127.0.0.1', tonumber(port))
return {
cmd = cmd,
filetypes = { 'gd', 'gdscript', 'gdscript3' },
root_markers = { 'project.godot', '.git' }
}

View File

@@ -1,69 +0,0 @@
require('avante').setup({
instructions_file = "avante.md",
provider = "ollama",
providers = {
ollama = {
endpoint = "http://localhost:11434",
model = "codellama:latest",
},
},
behavior = {
auto_focus_sidebar = true,
auto_suggestions = true, -- Experimental.
jump_result_buffer_on_finish = false,
},
windows = {
position = "right",
fillchars = "eob: ",
wrap = true,
width = 30,
height = 30,
sidebar_header = {
enabled = true,
align = "center",
rounded = true,
},
spinner = {
editing = {
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
},
generating = { "·", "", "", "", "", "" },
thinking = { "🤯", "🙄" },
},
},
})

View File

@@ -14,11 +14,9 @@ vim.g.coc_global_extensions = {
'coc-prettier',
'coc-eslint',
'coc-markdownlint',
'coc-vimlsp',
'coc-zig'
'coc-vimlsp'
}
-- Use <Tab> and <S-Tab> to navigate completion list
vim.keymap.set('i', '<Tab>', function()
if vim.fn['coc#pum#visible']() == 1 then
@@ -43,4 +41,4 @@ vim.keymap.set('i', '<CR>', function()
else
return '<CR>'
end
end, { expr = true, silent = true })
end, { expr = true, silent = true })

View File

@@ -1,18 +0,0 @@
local vim = vim
local paths_to_check = {'/', '/../'}
local is_godot_project = false
local godot_project_path = ''
local cwd = vim.fn.getcwd()
for key, value in pairs(paths_to_check) do
if vim.uv.fs_stat(cwd .. value .. 'project.godot') then
is_godot_project = true
godot_project_path = cwd .. value
break
end
end
local is_server_running = vim.uv.fs_stat(godot_project_path .. '/server.pipe')
if is_godot_project and not is_server_running then
vim.fn.serverstart(godot_project_path .. '/server.pipe')
end

View File

@@ -12,8 +12,8 @@ end, { noremap = true })
-- Leader Maps
vim.keymap.set("n", "<leader>f", "", { desc = "Files"})
-- vim.keymap.set("n", "<leader>ff", ":FzfLua files<CR>", { desc = "File Finder"})
vim.keymap.set("n", "<leader>ff", ":Pick files<CR>", { desc = "File Picker"})
vim.keymap.set("n", "<leader>ff", ":FzfLua files<CR>", { desc = "File Finder"})
-- vim.keymap.set("n", "<leader>fe", ":Pick files<CR>", { desc = "File Picker"})
vim.keymap.set("n", "<leader>ft", t3_toggle_netrw, { desc = "File Tree"})
vim.keymap.set("n", "<leader>b", "", { desc = "Buffers"})
@@ -117,17 +117,17 @@ vim.keymap.set("n", "<f9>", ":Telescope live_grep<cr>", { desc = "live grep"})
vim.keymap.set("n", "<F11>", ":setlocal spell! spelllang=en_us<CR>", { desc = "Toggle Spell Check"})
vim.keymap.set("n", "<F12>", ":setlocal wrap!<CR>", { desc = "Toggle Line Wrap"})
-- vim.keymap.set( "n", "<leader>a", "", {desc = "AI/Claude Code" })
-- vim.keymap.set( "n", "<leader>ac", "<cmd>ClaudeCode<cr>", {desc = "Toggle Claude" })
-- vim.keymap.set( "n", "<leader>af", "<cmd>ClaudeCodeFocus<cr>", {desc = "Focus Claude" })
-- vim.keymap.set( "n", "<leader>ar", "<cmd>ClaudeCode --resume<cr>", {desc = "Resume Claude" })
-- vim.keymap.set( "n", "<leader>aC", "<cmd>ClaudeCode --continue<cr>", {desc = "Continue Claude" })
-- vim.keymap.set( "n", "<leader>am", "<cmd>ClaudeCodeSelectModel<cr>", {desc = "Select Claude model" })
-- vim.keymap.set( "n", "<leader>ab", "<cmd>ClaudeCodeAdd %<cr>", {desc = "Add current buffer" })
-- vim.keymap.set( "v", "<leader>as", "<cmd>ClaudeCodeSend<cr>", {desc = "Send to Claude" })
vim.keymap.set( "n", "<leader>a", "", {desc = "AI/Claude Code" })
vim.keymap.set( "n", "<leader>ac", "<cmd>ClaudeCode<cr>", {desc = "Toggle Claude" })
vim.keymap.set( "n", "<leader>af", "<cmd>ClaudeCodeFocus<cr>", {desc = "Focus Claude" })
vim.keymap.set( "n", "<leader>ar", "<cmd>ClaudeCode --resume<cr>", {desc = "Resume Claude" })
vim.keymap.set( "n", "<leader>aC", "<cmd>ClaudeCode --continue<cr>", {desc = "Continue Claude" })
vim.keymap.set( "n", "<leader>am", "<cmd>ClaudeCodeSelectModel<cr>", {desc = "Select Claude model" })
vim.keymap.set( "n", "<leader>ab", "<cmd>ClaudeCodeAdd %<cr>", {desc = "Add current buffer" })
vim.keymap.set( "v", "<leader>as", "<cmd>ClaudeCodeSend<cr>", {desc = "Send to Claude" })
-- vim.keymap.set( "n", "<leader>as", "<cmd>ClaudeCodeTreeAdd<cr>", {desc = "Add file", ft = { "NvimTree", "neo-tree", "oil", "minifiles" }})
-- vim.keymap.set( "n", "<leader>aa", "<cmd>ClaudeCodeDiffAccept<cr>", {desc = "Accept diff" })
-- vim.keymap.set( "n", "<leader>ad", "<cmd>ClaudeCodeDiffDeny<cr>", {desc = "Deny diff" })
vim.keymap.set( "n", "<leader>aa", "<cmd>ClaudeCodeDiffAccept<cr>", {desc = "Accept diff" })
vim.keymap.set( "n", "<leader>ad", "<cmd>ClaudeCodeDiffDeny<cr>", {desc = "Deny diff" })
vim.api.nvim_create_autocmd("FileType", {
pattern = { "NvimTree", "neo-tree", "oil", "minifiles" },
callback = function()
@@ -158,38 +158,3 @@ vim.keymap.set( "n", "<leader>ltd", ":Telescope lsp_dynamic_workspace_symbols<CR
vim.keymap.set( "n", "<C-]>", "<cmd>lua vim.lsp.buf.definition()<cr>", {desc = "Go to Definition" })
vim.keymap.set( "n", "<C-t>", "<C-o>", {desc = "Jump Back" })
vim.keymap.set( "n", "g]", "<cmd>lua vim.lsp.buf.references()<cr>", {desc = "Find References" })
-- Top Pickers & Explorer
vim.keymap.set("n", "<leader><space>", ":lua Snacks.picker.smart()<cr>", { desc = "Smart Find Files" })
vim.keymap.set("n", "<leader>/", ":lua Snacks.picker.grep()<cr>", { desc = "Grep" })
vim.keymap.set("n", "<leader>:", ":lua Snacks.picker.command_history()<cr>", { desc = "Command History" })
vim.keymap.set("n", "<leader>n", ":lua Snacks.picker.notifications()<cr>", { desc = "Notification History" })
-- vim.keymap.set("n", "<leader>e", ":lua Snacks.explorer()<cr>", { desc = "File Explorer" })
vim.keymap.set("n", "<leader>e", ":Lexplore<cr>", { desc = "File Explorer" })
vim.keymap.set("n", "<leader>fb", ":lua Snacks.picker.buffers()<cr>", { desc = "Buffers" })
vim.keymap.set("n", "<leader>ff", ":lua Snacks.picker.files()<cr>", { desc = "Find Files" })
vim.keymap.set("n", "<leader>fg", ":lua Snacks.picker.git_files()<cr>", { desc = "Find Git Files" })
vim.keymap.set("n", "<leader>fp", ":lua Snacks.picker.projects()<cr>", { desc = "Projects" })
vim.keymap.set("n", "<leader>fr", ":lua Snacks.picker.recent()<cr>", { desc = "Recent" })
vim.keymap.set("n", "<leader>Gb", ":lua Snacks.picker.git_branches()<cr>", { desc = "Git Branches" })
vim.keymap.set("n", "<leader>Gl", ":lua Snacks.picker.git_log()<cr>", { desc = "Git Log" })
vim.keymap.set("n", "<leader>GL", ":lua Snacks.picker.git_log_line()<cr>", { desc = "Git Log Line" })
vim.keymap.set("n", "<leader>Gs", ":lua Snacks.picker.git_status()<cr>", { desc = "Git Status" })
vim.keymap.set("n", "<leader>GS", ":lua Snacks.picker.git_stash()<cr>", { desc = "Git Stash" })
vim.keymap.set("n", "<leader>Gd", ":lua Snacks.picker.git_diff()<cr>", { desc = "Git Diff (Hunks)" })
vim.keymap.set("n", "<leader>Gf", ":lua Snacks.picker.git_log_file()<cr>", { desc = "Git Log File" })
vim.keymap.set("n", "<leader>sb", ":lua Snacks.picker.buffers()<cr>", { desc = "Buffers" })
vim.keymap.set("n", "<leader>ss", ":lua Snacks.picker.smart()<cr>", { desc = "Smart Find Files" })
vim.keymap.set("n", "<leader>sp", ":lua Snacks.picker.projects()<cr>", { desc = "Projects" })
vim.keymap.set("n", "<leader>sr", ":lua Snacks.picker.recent()<cr>", { desc = "Recent" })
vim.keymap.set("n", "<leader>sw", ":lua Snacks.picker.words()<cr>", { desc = "Next Reference" })
vim.keymap.set("n", "<leader>sw", ":lua Snacks.words.jump(vim.v.count1)<cr>", { desc = "Next Reference" })
vim.keymap.set("n", "<leader>sw", ":lua Snacks.words.jump(-vim.v.count1)<cr>", { desc = "Prev Reference" })
-- Terminal
-- vim.keymap.set("n", "<c-/>", ":lua Snacks.terminal()<cr>", { desc = "Toggle Terminal" })
-- vim.keymap.set("n", "<c-_>", ":lua Snacks.terminal()<cr>", { desc = "which_key_ignore" })
-- Words Jump
vim.keymap.set("n", "]]", ":lua Snacks.words.jump(vim.v.count1)<cr>", { desc = "Next Reference", })
vim.keymap.set("n", "[[", ":lua Snacks.words.jump(-vim.v.count1)<cr>", { desc = "Prev Reference", })

View File

@@ -40,9 +40,6 @@ vim.lsp.enable('basedpyright', {
}
})
-- vim.lsp.config('gdscript', {})
-- vim.lsp.enable('gdscript')
require("lsp_signature").setup({
debug = false,
@@ -54,7 +51,7 @@ require("lsp_signature").setup({
floating_window = true,
floating_window_above_cur_line = false,
floating_window_off_x = 1,
floating_window_off_y = 2,
floating_window_off_y = 1,
-- hint_enable = true,
hint_enable = false,
hint_inline = function() return false end,

View File

@@ -15,8 +15,7 @@ vim.o.termguicolors = true
vim.o.winborder = "rounded"
vim.o.clipboard = "unnamedplus"
vim.o.completeopt = "menuone"
vim.o.shell = "/usr/bin/env fish"
-- vim.o.shell = "/usr/bin/env zsh"
vim.o.shell = "/usr/bin/env zsh"
-- vim.o.completeopt = "menuone,noinsert,noselect"
vim.o.cursorline = true

View File

@@ -28,8 +28,7 @@ vim.pack.add({
-- { src = "https://github.com/hrsh7th/cmp-cmdline" },
-- { src = "https://github.com/hrsh7th/cmp-nvim-lua" },
-- { src = "https://github.com/saadparwaiz1/cmp_luasnip" },
-- { src = "https://github.com/github/copilot.vim" },
-- { src = "https://github.com/jacob411/Ollama-Copilot" },
{ src = "https://github.com/github/copilot.vim" },
{ src = "https://github.com/pysan3/pathlib.nvim" },
{ src = "https://github.com/nvim-orgmode/org-bullets.nvim" },
{ src = "https://github.com/lukas-reineke/headlines.nvim" },
@@ -60,17 +59,16 @@ vim.pack.add({
{ src = "https://github.com/mbbill/undotree.git" },
{ src = "https://github.com/francoiscabrol/ranger.vim" },
{ src = "https://github.com/folke/snacks.nvim" },
-- { src = "https://github.com/coder/claudecode.nvim" },
{ src = "https://github.com/coder/claudecode.nvim" },
{ src = "https://github.com/yetone/avante.nvim" },
{ src = "https://github.com/alaviss/nim.nvim" },
{ src = "https://github.com/glebzlat/arduino-nvim" },
{ src = "https://github.com/norcalli/nvim-colorizer.lua" },
-- { src = "https://github.com/HiPhish/rainbow-delimiters.nvim" },
{ src = "https://github.com/lewis6991/gitsigns.nvim" },
{ src = "https://github.com/amitds1997/remote-nvim.nvim" },
})
if host == "xps13" then
end
require('mini.icons').setup({})
require('mini.pick').setup({})
require('mini.pairs').setup({})
@@ -81,17 +79,6 @@ require('mini.tabline').setup({})
require('mini.fuzzy').setup({})
-- require('lualine').setup({ options = { theme = 'tokyonight' } })
require('which-key').setup({})
require("snacks").setup({
explorer = { enabled = true },
image = { enabled = true },
input = { enabled = true },
picker = { enabled = true },
scope = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
scroll = { enabled = true },
statuscolumn = { enabled = true },
})
require('fzf-lua').setup({
winopts = {
height = 0.85,
@@ -214,7 +201,36 @@ require('nvim-devdocs').setup({})
-- filter = { event = "msg_showmode" },
-- },
-- })
-- require("claudecode").setup({})
require("claudecode").setup({})
require('avante').setup({
opts = {
-- add any opts here
-- this file can contain specific instructions for your project
instructions_file = "avante.md",
-- for example
provider = "copilot",
providers = {
-- claude = {
-- endpoint = "https://api.anthropic.com",
-- model = "claude-sonnet-4-20250514",
-- timeout = 30000, -- Timeout in milliseconds
-- extra_request_body = {
-- temperature = 0.75,
-- max_tokens = 20480,
-- },
-- },
-- moonshot = {
-- endpoint = "https://api.moonshot.ai/v1",
-- model = "kimi-k2-0711-preview",
-- timeout = 30000, -- Timeout in milliseconds
-- extra_request_body = {
-- temperature = 0.75,
-- max_tokens = 32768,
-- },
-- },
}
}
})
require('arduino-nvim').setup({
default_fqbn = "esp32:esp32:esp32",
@@ -233,191 +249,3 @@ require('colorizer').setup({
css_fn = true,
mode = 'background',
})
require('gitsigns').setup({
signs = {
add = { text = '' },
change = { text = '' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
untracked = { text = '' },
},
signs_staged = {
add = { text = '' },
change = { text = '' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
untracked = { text = '' },
},
signs_staged_enable = true,
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
watch_gitdir = {
follow_files = true
},
auto_attach = true,
attach_to_untracked = false,
current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
current_line_blame_opts = {
virt_text = true,
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
delay = 1000,
ignore_whitespace = false,
virt_text_priority = 100,
use_focus = true,
},
current_line_blame_formatter = '<author>, <author_time:%R> - <summary>',
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
max_file_length = 40000, -- Disable if file is longer than this (in lines)
preview_config = {
-- Options passed to nvim_open_win
style = 'minimal',
relative = 'cursor',
row = 0,
col = 1
},
})
require("remote-nvim").setup({
-- Configuration for devpod connections
devpod = {
binary = "devpod", -- Binary to use for devpod
docker_binary = "docker", -- Binary to use for docker-related commands
---@diagnostic disable-next-line:param-type-mismatch
-- ssh_config_path = utils.path_join(utils.is_windows, vim.fn.stdpath("data"), constants.PLUGIN_NAME, "ssh_config"), -- Path where devpod SSH configurations should be stored
search_style = "current_dir_only", -- How should devcontainers be searched
-- For dotfiles, see https://devpod.sh/docs/developing-in-workspaces/dotfiles-in-a-workspace for more information
dotfiles = {
path = nil, -- Path to your dotfiles which should be copied into devcontainers
install_script = nil -- Install script that should be called to install your dotfiles
},
gpg_agent_forwarding = false, -- Should GPG agent be forwarded over the network
container_list = "running_only", -- How should docker list containers ("running_only" or "all")
},
-- Configuration for SSH connections
ssh_config = {
ssh_binary = "ssh", -- Binary to use for running SSH command
scp_binary = "scp", -- Binary to use for running SSH copy commands
ssh_config_file_paths = { "$HOME/.ssh/config" }, -- Which files should be considered to contain the ssh host configurations. NOTE: `Include` is respected in the provided files.
-- These are useful for password-based SSH authentication.
-- It provides parsing pattern for the plugin to detect that an input is requested.
-- Each element contains the following attributes:
-- match - The string to match (plain matching is done)
-- type - Supports two values "plain"|"secret". Secret means when you provide the value, it should not be stored in the completion history of Neovim.
-- value - Default value for the prompt
-- value_type - "static"|"dynamic". For things like password, it would be needed for each new connection that the plugin initiates which could be obtrusive.
-- So, we save the value (only for current session's interval) to ease the process. If set to "dynamic", we do not save the value even for the session. You have to provide a fresh value each time.
ssh_prompts = {
{
match = "password:",
type = "secret",
value_type = "static",
value = "",
},
{
match = "continue connecting (yes/no/[fingerprint])?",
type = "plain",
value_type = "static",
value = "",
},
-- There are other values here which can be checked in lua/remote-nvim/init.lua
},
},
-- Path to the script that would be copied to the remote and called to ensure that neovim gets installed.
-- Default path is to the plugin's own ./scripts/neovim_install.sh file.
-- neovim_install_script_path = utils.path_join(
-- utils.is_windows,
-- vim.fn.fnamemodify(debug.getinfo(1).source:sub(2), ":h:h:h"),
-- "scripts",
-- "neovim_install.sh"
-- ),
-- Modify the UI for the plugin's progress viewer.
-- type can be "split" or "popup". All options from https://github.com/MunifTanjim/nui.nvim/tree/main/lua/nui/popup and https://github.com/MunifTanjim/nui.nvim/tree/main/lua/nui/split are supported.
-- Note that some options like "border" are only available for "popup".
progress_view = {
type = "popup",
},
-- Offline mode configuration. For more details, see the "Offline mode" section below.
offline_mode = {
-- Should offline mode be enabled?
enabled = false,
-- Do not connect to GitHub at all. Not even to get release information.
no_github = false,
-- What path should be looked at to find locally available releases
-- cache_dir = utils.path_join(utils.is_windows, vim.fn.stdpath("cache"), constants.PLUGIN_NAME, "version_cache"),
},
-- Remote configuration
remote = {
app_name = "nvim", -- This directly maps to the value NVIM_APPNAME. If you use any other paths for configuration, also make sure to set this.
-- List of directories that should be copied over
copy_dirs = {
-- What to copy to remote's Neovim config directory
config = {
base = vim.fn.stdpath("config"), -- Path from where data has to be copied
dirs = "*", -- Directories that should be copied over. "*" means all directories. To specify a subset, use a list like {"lazy", "mason"} where "lazy", "mason" are subdirectories
-- under path specified in `base`.
compression = {
enabled = false, -- Should compression be enabled or not
additional_opts = {} -- Any additional options that should be used for compression. Any argument that is passed to `tar` (for compression) can be passed here as separate elements.
},
},
-- What to copy to remote's Neovim data directory
data = {
base = vim.fn.stdpath("data"),
dirs = {},
compression = {
enabled = true,
},
},
-- What to copy to remote's Neovim cache directory
cache = {
base = vim.fn.stdpath("cache"),
dirs = {},
compression = {
enabled = true,
},
},
-- What to copy to remote's Neovim state directory
state = {
base = vim.fn.stdpath("state"),
dirs = {},
compression = {
enabled = true,
},
},
},
},
-- You can supply your own callback that should be called to create the local client. This is the default implementation.
-- Two arguments are passed to the callback:
-- port: Local port at which the remote server is available
-- workspace_config: Workspace configuration for the host. For all the properties available, see https://github.com/amitds1997/remote-nvim.nvim/blob/main/lua/remote-nvim/providers/provider.lua#L4
-- A sample implementation using WezTerm tab is at: https://github.com/amitds1997/remote-nvim.nvim/wiki/Configuration-recipes
client_callback = function(port, _)
require("remote-nvim.ui").float_term(("nvim --server localhost:%s --remote-ui"):format(port), function(exit_code)
if exit_code ~= 0 then
vim.notify(("Local client failed with exit code %s"):format(exit_code), vim.log.levels.ERROR)
end
end)
end,
-- Plugin log related configuration [PREFER NOT TO CHANGE THIS]
log = {
-- Where is the log file
-- filepath = utils.path_join(utils.is_windows, vim.fn.stdpath("state"), ("%s.log"):format(constants.PLUGIN_NAME)),
-- Level of logging
level = "info",
-- At what size, should we truncate the logs
max_size = 1024 * 1024 * 2, -- 2MB
},
})

View File

@@ -1,9 +1,9 @@
-- local configs = require('nvim-treesitter.configs')
require'nvim-treesitter'.setup({
ensure_installed = {
"ini", "bash", "c", "lua", "vim", "vimdoc", "query", "python",
"rust", "zig", "typescript", "svelte", "css", "html", "nix"
},
local configs = require('nvim-treesitter.configs')
configs.setup({
-- ensure_installed = {
-- "ini", "bash", "c", "lua", "vim", "vimdoc", "query", "python",
-- "rust", "zig", "typescript", "svelte", "css", "html", "nix"
-- },
sync_install = false,
highlight = { enable = true },
indent = { enable = true, disable = { "norg" }, },

View File

@@ -1,224 +0,0 @@
{
"plugins": {
"LuaSnip": {
"rev": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c",
"src": "https://github.com/L3MON4D3/LuaSnip"
},
"arduino-nvim": {
"rev": "086901d0b33a330c2f6e3fe2095ad8166c093e88",
"src": "https://github.com/glebzlat/arduino-nvim"
},
"auto-session": {
"rev": "62437532b38495551410b3f377bcf4aaac574ebe",
"src": "https://github.com/rmagatti/auto-session"
},
"avante.nvim": {
"rev": "98b7fc255aa28a352f97dd4c0c0ab2a13b0b0657",
"src": "https://github.com/yetone/avante.nvim"
},
"barbar.nvim": {
"rev": "539d73def39c9172b4d4d769f14090e08f37b29d",
"src": "https://github.com/romgrk/barbar.nvim"
},
"coc-pyright": {
"rev": "315bf413533e32cbeef488654360a0b8359b1044",
"src": "https://github.com/fannheyward/coc-pyright"
},
"coc.nvim": {
"rev": "ab9219aa43f0442131c4087e537e2760147e134e",
"src": "https://github.com/neoclide/coc.nvim"
},
"crates.nvim": {
"rev": "ac9fa498a9edb96dc3056724ff69d5f40b898453",
"src": "https://github.com/saecki/crates.nvim"
},
"cyberdream.nvim": {
"rev": "a68ffa6af98bf1fc88f33a071c51a188ec85c725",
"src": "https://github.com/scottmckendry/cyberdream.nvim"
},
"fzf-lua": {
"rev": "d9508cc1d05ffcdc91a32dfd38fc1013a56b20da",
"src": "https://github.com/ibhagwan/fzf-lua"
},
"garbage-day.nvim": {
"rev": "2fcc56556281de8ee871a5f3beb9db7ab747ef32",
"src": "https://github.com/zeioth/garbage-day.nvim"
},
"gitsigns.nvim": {
"rev": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3",
"src": "https://github.com/lewis6991/gitsigns.nvim"
},
"glance.nvim": {
"rev": "bf86d8b79dce808e65fdb6e9269d0b4ed6d2eefc",
"src": "https://github.com/DNLHC/glance.nvim"
},
"goto-preview": {
"rev": "d2d6923c9b9e0e43f0b9b566f261a8b1ae016540",
"src": "https://github.com/rmagatti/goto-preview"
},
"headlines.nvim": {
"rev": "bf17c96a836ea27c0a7a2650ba385a7783ed322e",
"src": "https://github.com/lukas-reineke/headlines.nvim"
},
"lazygit.nvim": {
"rev": "a04ad0dbc725134edbee3a5eea29290976695357",
"src": "https://github.com/kdheepak/lazygit.nvim"
},
"logger.nvim": {
"rev": "63dd10c9b9a159fd6cfe08435d9606384ff103c5",
"src": "https://github.com/rmagatti/logger.nvim"
},
"lsp_signature.nvim": {
"rev": "af7e4074d85d785cf6614352ba9ad3b28a1f8a56",
"src": "https://github.com/ray-x/lsp_signature.nvim"
},
"lualine.nvim": {
"rev": "47f91c416daef12db467145e16bed5bbfe00add8",
"src": "https://github.com/nvim-lualine/lualine.nvim"
},
"m_taskwarrior_d.nvim": {
"rev": "e18ac5f3b73066113ebc153003c208d32ff752d3",
"src": "https://github.com/huantrinh1802/m_taskwarrior_d.nvim"
},
"mini.files": {
"rev": "57eb96a828f80efb8095a611e3aafcfa43548f8b",
"src": "https://github.com/echasnovski/mini.files"
},
"mini.fuzzy": {
"rev": "1d55e3d50a1074f0e644688f8c140cfe65f2b489",
"src": "https://github.com/echasnovski/mini.fuzzy"
},
"mini.icons": {
"rev": "5b9076dae1bfbe47ba4a14bc8b967cde0ab5d77e",
"src": "https://github.com/echasnovski/mini.icons"
},
"mini.indentscope": {
"rev": "065c7713fb4cd0124fe1462f15f27feeb8b04406",
"src": "https://github.com/echasnovski/mini.indentscope"
},
"mini.notify": {
"rev": "e506fb6da26c0a31ee6b1d2eb99626cb147f28ca",
"src": "https://github.com/echasnovski/mini.notify"
},
"mini.pairs": {
"rev": "b7fde3719340946feb75017ef9d75edebdeb0566",
"src": "https://github.com/echasnovski/mini.pairs"
},
"mini.pick": {
"rev": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af",
"src": "https://github.com/echasnovski/mini.pick"
},
"mini.surround": {
"rev": "d205d1741d1fcc1f3117b4e839bf00f74ad72fa2",
"src": "https://github.com/echasnovski/mini.surround"
},
"mini.tabline": {
"rev": "d03f10bf562cef57bd9f80f82c54269ff4816a15",
"src": "https://github.com/echasnovski/mini.tabline"
},
"nim.nvim": {
"rev": "9ee8fdc04ad3d7fcbd9679e0be3477543f17b9d9",
"src": "https://github.com/alaviss/nim.nvim"
},
"nui.nvim": {
"rev": "de740991c12411b663994b2860f1a4fd0937c130",
"src": "https://github.com/MunifTanjim/nui.nvim"
},
"nvim-colorizer.lua": {
"rev": "a065833f35a3a7cc3ef137ac88b5381da2ba302e",
"src": "https://github.com/norcalli/nvim-colorizer.lua"
},
"nvim-devdocs": {
"rev": "1ab982d3e069d191d9157b897c8b70cf48b7f77a",
"src": "https://github.com/luckasRanarison/nvim-devdocs"
},
"nvim-lspconfig": {
"rev": "2163c54bb6cfec53e3e555665ada945b8c8331b9",
"src": "https://github.com/neovim/nvim-lspconfig"
},
"nvim-treesitter": {
"rev": "5cb05e1b0fa3c469958a2b26f36b3fe930af221c",
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
},
"nvim-web-devicons": {
"rev": "737cf6c657898d0c697311d79d361288a1343d50",
"src": "https://github.com/nvim-tree/nvim-web-devicons"
},
"org-bullets.nvim": {
"rev": "21437cfa99c70f2c18977bffd423f912a7b832ea",
"src": "https://github.com/nvim-orgmode/org-bullets.nvim"
},
"pathlib.nvim": {
"rev": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1",
"src": "https://github.com/pysan3/pathlib.nvim"
},
"plenary.nvim": {
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
"src": "https://github.com/nvim-lua/plenary.nvim"
},
"rainbow-delimiters.nvim": {
"rev": "01993eb20c6cdc1d33e7e98252368840309f99b9",
"src": "https://github.com/HiPhish/rainbow-delimiters.nvim"
},
"ranger.vim": {
"rev": "91e82debdf566dfaf47df3aef0a5fd823cedf41c",
"src": "https://github.com/francoiscabrol/ranger.vim"
},
"remote-nvim.nvim": {
"rev": "9992c2fb8bf4f11aca2c8be8db286b506f92efcb",
"src": "https://github.com/amitds1997/remote-nvim.nvim"
},
"snacks.nvim": {
"rev": "9912042fc8bca2209105526ac7534e9a0c2071b2",
"src": "https://github.com/folke/snacks.nvim"
},
"sniprun": {
"rev": "973acfe83cff35d13b95369a5606c47565b824fb",
"src": "https://github.com/michaelb/sniprun"
},
"telescope-project.nvim": {
"rev": "8e11df94419e444601c09828dadf70890484e443",
"src": "https://github.com/nvim-telescope/telescope-project.nvim"
},
"telescope-ui-select.nvim": {
"rev": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2",
"src": "https://github.com/nvim-telescope/telescope-ui-select.nvim"
},
"telescope.nvim": {
"rev": "5255aa27c422de944791318024167ad5d40aad20",
"src": "https://github.com/nvim-telescope/telescope.nvim"
},
"tiny-inline-diagnostic.nvim": {
"rev": "ba133b3e932416e4b9507095731a6d7276878fe8",
"src": "https://github.com/rachartier/tiny-inline-diagnostic.nvim"
},
"todo-comments.nvim": {
"rev": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668",
"src": "https://github.com/folke/todo-comments.nvim"
},
"toggleterm.nvim": {
"rev": "9a88eae817ef395952e08650b3283726786fb5fb",
"src": "https://github.com/akinsho/toggleterm.nvim"
},
"trouble.nvim": {
"rev": "bd67efe408d4816e25e8491cc5ad4088e708a69a",
"src": "https://github.com/folke/trouble.nvim"
},
"undotree": {
"rev": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d",
"src": "https://github.com/mbbill/undotree.git"
},
"vim-tmux-navigator": {
"rev": "e41c431a0c7b7388ae7ba341f01a0d217eb3a432",
"src": "https://github.com/christoomey/vim-tmux-navigator"
},
"vimwiki": {
"rev": "72792615e739d0eb54a9c8f7e0a46a6e2407c9e8",
"src": "https://github.com/vimwiki/vimwiki"
},
"which-key.nvim": {
"rev": "3aab2147e74890957785941f0c1ad87d0a44c15a",
"src": "https://github.com/folke/which-key.nvim"
}
}
}