diff options
Diffstat (limited to 'lua/plugins/10_ide.lua')
| -rw-r--r-- | lua/plugins/10_ide.lua | 92 |
1 files changed, 48 insertions, 44 deletions
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 = { - {'<Leader>e', ':AerialToggle<LF>'}, + {'<Leader>o', ':AerialToggle<LF>'}, } }, -- 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 = { - {'<Leader>r', ':hor Rest run<CR>'}, - }, + -- { + -- "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 = { + -- {'<Leader>r', ':hor Rest run<CR>'}, + -- }, - --[[ 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 = { - {'<Leader>r', '<Plug>RestNvim<CR>'}, - {'<Leader>R', '<Plug>RestNvimLast<CR>'}, - {'<Leader><A-r>', '<Plug>RestNvimPreview<CR>'}, - }, - config = function() - -- commands - local ct = require('conftool') - ct.defcmd('RestNvim', 'lua require(\'rest-nvim\').run()<CR>') - ct.defcmd('RestNvimPreview', 'lua require(\'rest-nvim\').run(true)<CR>') - ct.defcmd('RestNvimLast', 'lua require(\'rest-nvim\').last()<CR>') - 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 = { + -- {'<Leader>r', '<Plug>RestNvim<CR>'}, + -- {'<Leader>R', '<Plug>RestNvimLast<CR>'}, + -- {'<Leader><A-r>', '<Plug>RestNvimPreview<CR>'}, + -- }, + -- config = function() + -- -- commands + -- local ct = require('conftool') + -- ct.defcmd('RestNvim', 'lua require(\'rest-nvim\').run()<CR>') + -- ct.defcmd('RestNvimPreview', 'lua require(\'rest-nvim\').run(true)<CR>') + -- ct.defcmd('RestNvimLast', 'lua require(\'rest-nvim\').last()<CR>') + -- end, ]]-- + -- }, } |
