From 13b27243ea7ae795c26c4bc4c25322f4e034cfcb Mon Sep 17 00:00:00 2001 From: Ian Griffin Date: Fri, 18 Jul 2025 22:03:45 +0700 Subject: updates --- lua/plugins/10_ide.lua | 92 ++++++++++++++++++++++++++------------------------ 1 file changed, 48 insertions(+), 44 deletions(-) (limited to 'lua/plugins/10_ide.lua') diff --git a/lua/plugins/10_ide.lua b/lua/plugins/10_ide.lua index 7d2e08b..7de1d01 100644 --- a/lua/plugins/10_ide.lua +++ b/lua/plugins/10_ide.lua @@ -1,7 +1,7 @@ return { { 'nvim-treesitter/nvim-treesitter', - build = ':TSUpdate', + -- build = ':TSUpdate', event = { "VeryLazy" }, lazy = vim.fn.argc(-1) == 0, opts = { @@ -19,6 +19,7 @@ return { "json", "latex", "lua", + "php", "python", "typescript", "tsx", @@ -102,13 +103,14 @@ return { }, }, keys = { - {'e', ':AerialToggle'}, + {'o', ':AerialToggle'}, } }, -- Language Server Installer { 'williamboman/mason.nvim', + lazy = false, cmd = { "Mason", "MasonInstall", @@ -132,7 +134,7 @@ return { vim.diagnostic.config({ virtual_text = false }) end }, - --[[{ + { 'huggingface/llm.nvim', opts = { model = 'qwen2.5-coder:7b', @@ -142,16 +144,16 @@ return { bin_path = vim.api.nvim_call_function("stdpath", { "data" }) .. "/mason/bin/llm-ls", } }, - },]]-- + }, { 'mason-org/mason-lspconfig.nvim', dependencies = { + 'williamboman/mason.nvim', 'ms-jpq/coq_nvim', 'nanotee/nvim-lsp-basics', 'neovim/nvim-lspconfig', -- 'huggingface/llm.nvim', 'stevearc/aerial.nvim', - 'williamboman/mason.nvim', }, opts = { ensure_installed = { @@ -161,6 +163,7 @@ return { "html", "jsonls", "lua_ls", + "phpactor", "pyright", "texlab", "ts_ls" @@ -178,6 +181,7 @@ return { "javascriptreact", "json", "lua", + "php", "python", "tex", "typescript", @@ -237,44 +241,44 @@ return { -- -- Misc -- - { - "rest-nvim/rest.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-treesitter/nvim-treesitter" - }, - ft = { "http" }, - opts = { - -- Open request results in a horizontal split - result_split_horizontal = false, - -- Keep the http file buffer above|left when split horizontal|vertical - -- - result_split_in_place = true, - result = { - show_curl_command = false, - }, - }, - keys = { - {'r', ':hor Rest run'}, - }, + -- { + -- "rest-nvim/rest.nvim", + -- dependencies = { + -- "nvim-lua/plenary.nvim", + -- "nvim-treesitter/nvim-treesitter" + -- }, + -- ft = { "http" }, + -- opts = { + -- -- Open request results in a horizontal split + -- result_split_horizontal = false, + -- -- Keep the http file buffer above|left when split horizontal|vertical + -- -- + -- result_split_in_place = true, + -- result = { + -- show_curl_command = false, + -- }, + -- }, + -- keys = { + -- {'r', ':hor Rest run'}, + -- }, - --[[ opts = function (_, opts) - opts.ensure_installed = opts.ensure_installed or {} - table.insert(opts.ensure_installed, "http") - table.insert(opts.result_split_horizontal, true) - table.insert(opts.result_split_in_place, true) - end, ]]-- - --[[ keys = { - {'r', 'RestNvim'}, - {'R', 'RestNvimLast'}, - {'', 'RestNvimPreview'}, - }, - config = function() - -- commands - local ct = require('conftool') - ct.defcmd('RestNvim', 'lua require(\'rest-nvim\').run()') - ct.defcmd('RestNvimPreview', 'lua require(\'rest-nvim\').run(true)') - ct.defcmd('RestNvimLast', 'lua require(\'rest-nvim\').last()') - end, ]]-- - }, + -- --[[ opts = function (_, opts) + -- opts.ensure_installed = opts.ensure_installed or {} + -- table.insert(opts.ensure_installed, "http") + -- table.insert(opts.result_split_horizontal, true) + -- table.insert(opts.result_split_in_place, true) + -- end, ]]-- + -- --[[ keys = { + -- {'r', 'RestNvim'}, + -- {'R', 'RestNvimLast'}, + -- {'', 'RestNvimPreview'}, + -- }, + -- config = function() + -- -- commands + -- local ct = require('conftool') + -- ct.defcmd('RestNvim', 'lua require(\'rest-nvim\').run()') + -- ct.defcmd('RestNvimPreview', 'lua require(\'rest-nvim\').run(true)') + -- ct.defcmd('RestNvimLast', 'lua require(\'rest-nvim\').last()') + -- end, ]]-- + -- }, } -- cgit v1.3