Add files via upload

This commit is contained in:
Pgolik 2025-06-04 14:29:38 +02:00 committed by GitHub
parent a0b818ad7f
commit 9c7fa46733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -848,6 +848,17 @@ require('lazy').setup({
}, },
}, },
{ 'Bilal2453/luvit-meta', lazy = true }, { 'Bilal2453/luvit-meta', lazy = true },
{
'mfussenegger/nvim-dap',
event = 'VeryLazy',
dependencies = {
{ 'williamboman/mason.nvim', config = true },
'rcarriga/nvim-dap-ui',
'nvim-neotest/nvim-nio',
'jay-babu/mason-nvim-dap.nvim',
'theHamsta/nvim-dap-virtual-text',
},
},
{ {
-- Main LSP Configuration -- Main LSP Configuration
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
@ -1007,6 +1018,8 @@ require('lazy').setup({
-- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features. -- - capabilities (table): Override fields in capabilities. Can be used to disable certain LSP features.
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local vue_ls_share = vim.fn.expand '$MASON/packages/vue-language-server'
local vue_language_server_path = vue_ls_share .. '/node_modules/@vue/language-server'
local servers = { local servers = {
clangd = {}, clangd = {},
-- gopls = {}, -- gopls = {},
@ -1017,23 +1030,18 @@ require('lazy').setup({
-- https://github.com/pmizio/typescript-tools.nvim -- https://github.com/pmizio/typescript-tools.nvim
-- --
-- But for many setups, the LSP (`tsserver`) will work just fine -- But for many setups, the LSP (`tsserver`) will work just fine
vue_ls = {},
ts_ls = { ts_ls = {
init_options = { init_options = {
plugins = { plugins = {
{ {
name = '@vue/typescript-plugin', name = '@vue/typescript-plugin',
location = vue_language_server_path,
languages = { 'vue' }, languages = { 'vue' },
}, },
}, },
}, },
},
volar = {
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' }, filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
init_options = {
vue = {
hybridMode = false,
},
},
}, },
bashls = { bashls = {
filetypes = { 'sh', 'bash' }, filetypes = { 'sh', 'bash' },
@ -1411,3 +1419,4 @@ require('lazy').setup({
-- The line beneath this is called `modeline`. See `:help modeline` -- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et -- vim: ts=2 sts=2 sw=2 et
require 'custom/keymap' require 'custom/keymap'
require 'custom/DAP/dap_config'