summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/binds.lua2
-rw-r--r--lua/misc.lua3
-rw-r--r--lua/plugins/10_ide.lua23
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 = {