diff options
| author | Ian Griffin <migriffin@disroot.org> | 2025-12-03 23:33:07 +0800 |
|---|---|---|
| committer | Ian Griffin <migriffin@disroot.org> | 2025-12-03 23:33:07 +0800 |
| commit | 9b4772487b7dffb8e5176292e5e945885f97fcab (patch) | |
| tree | fa9d78551c3844b0ee2f0224758411fd7eb89bce | |
| parent | 12c58d90fb58cae7642364a32760165f33c93ebf (diff) | |
minor updates; show constants in aerial
| -rw-r--r-- | lua/binds.lua | 2 | ||||
| -rw-r--r-- | lua/misc.lua | 3 | ||||
| -rw-r--r-- | lua/plugins/10_ide.lua | 23 |
3 files changed, 22 insertions, 6 deletions
diff --git a/lua/binds.lua b/lua/binds.lua index 45bee3f..f705eb7 100644 --- a/lua/binds.lua +++ b/lua/binds.lua @@ -8,7 +8,7 @@ local ct = require('conftool') -- Maps -- -- select all -ct.map('n', '<Leader>a', '<esc>ggVG<CR>') +-- ct.map('n', '<Leader>a', '<esc>ggVG<CR>') --[[ -- spawn terminal ct.map('n', '<C-M-t>', ':!' .. defs.external_term .. ' . &<CR><CR>') diff --git a/lua/misc.lua b/lua/misc.lua index 6ec31e4..bbf603b 100644 --- a/lua/misc.lua +++ b/lua/misc.lua @@ -42,7 +42,8 @@ vim.g.netrw_browse_split = 0 -- vim.opt.clipboard = "unnamedplus" vim.opt.compatible = false vim.opt.autowrite = true -vim.opt.foldmethod = "syntax" +vim.opt.foldmethod = "indent" +vim.opt.foldlevelstart = 99 -- auto cd to the current file's location vim.cmd('autocmd BufEnter * silent! lcd %:p:h') -- highlighting for other langs in markdown docs diff --git a/lua/plugins/10_ide.lua b/lua/plugins/10_ide.lua index 261aed4..83cf3bc 100644 --- a/lua/plugins/10_ide.lua +++ b/lua/plugins/10_ide.lua @@ -109,6 +109,17 @@ return { -- default_direction = 'prefer_right', min_width = 25, }, + filter_kind = { + "Constant", + "Class", + "Constructor", + "Enum", + "Function", + "Interface", + "Method", + "Module", + "Struct", + }, }, keys = { {'<Leader>o', ':AerialToggle<LF>'}, @@ -145,14 +156,17 @@ return { --[[{ 'huggingface/llm.nvim', opts = { - model = 'qwen2.5-coder:latest', + model = 'deepseek-coder-v2', backend = 'ollama', url = 'http://localhost:11434', + tokens_to_clear = {"<|endoftext|>", "```", "python", "lua"}, lsp = { bin_path = vim.api.nvim_call_function("stdpath", { "data" }) .. "/mason/bin/llm-ls", - } + }, + context_window = 10240, + enable_suggestions_on_startup = true, }, - }, ]]-- + },]]-- { 'mason-org/mason-lspconfig.nvim', dependencies = { @@ -266,7 +280,8 @@ return { -- "rest-nvim/rest.nvim", -- dependencies = { -- "nvim-lua/plenary.nvim", - -- "nvim-treesitter/nvim-treesitter" + -- "nvim-treesitter/nvim-treesitter", + -- "rest-nvim/tree-sitter-http" -- }, -- ft = { "http" }, -- opts = { |
