minor updates; show constants in aerial

This commit is contained in:
Ian Griffin 2025-12-03 23:33:07 +08:00
parent 12c58d90fb
commit 9b4772487b
3 changed files with 22 additions and 6 deletions

View File

@ -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>')

View File

@ -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

View File

@ -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 = {