novas configurações
This commit is contained in:
parent
5f8a9386b7
commit
09d224f929
|
@ -39,7 +39,8 @@ local config = {
|
|||
'-Dlog.protocol=true',
|
||||
'-Dlog.level=ALL',
|
||||
'-javaagent:' .. home .. '/.local/share/nvim/mason/share/jdtls/lombok.jar',
|
||||
'-Xmx4g',
|
||||
'-Xms4g',
|
||||
'-Xmx8g',
|
||||
'--add-modules=ALL-SYSTEM',
|
||||
'--add-opens',
|
||||
'java.base/java.util=ALL-UNNAMED',
|
||||
|
|
17
init.lua
17
init.lua
|
@ -785,6 +785,7 @@ require('lazy').setup({
|
|||
-- into multiple repos for maintenance purposes.
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
'hrsh7th/cmp-path',
|
||||
'Jezda1337/nvim-html-css',
|
||||
},
|
||||
config = function()
|
||||
-- See `:help cmp`
|
||||
|
@ -861,7 +862,21 @@ require('lazy').setup({
|
|||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'path' },
|
||||
{ name = 'codeium' },
|
||||
{
|
||||
name = 'html-css',
|
||||
option = {
|
||||
enable_on = { 'html' }, -- html is enabled by default
|
||||
notify = false,
|
||||
documentation = {
|
||||
auto_show = true, -- show documentation on select
|
||||
},
|
||||
-- add any external scss like one below
|
||||
style_sheets = {
|
||||
'https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css',
|
||||
'https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "df66808cd78b5a97576bbaeee95ed5ca385a9750" },
|
||||
"nvim-html-css": { "branch": "main", "commit": "fa7e2da75edfd3d110fc8d4f8e5215b5de56ff42" },
|
||||
"nvim-jdtls": { "branch": "master", "commit": "2f7bff9b8d2ee1918b36ca55f19547d9d335a268" },
|
||||
"nvim-lint": { "branch": "master", "commit": "6e9dd545a1af204c4022a8fcd99727ea41ffdcc8" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "919f83ef8169d11eabd921a4cbda4fc1ba12f123" },
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
return {
|
||||
'Exafunction/codeium.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'hrsh7th/nvim-cmp',
|
||||
},
|
||||
config = function()
|
||||
require('codeium').setup {
|
||||
enable_cmp_source = false, -- disabled because I only want to use virtual text
|
||||
virtual_text = {
|
||||
enabled = true,
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
{
|
||||
--'lucas-garcia-rubio/neotest-maven',
|
||||
dir = '~/Repositories/pessoal/plugins/neotest-maven',
|
||||
name = 'neotest-maven',
|
||||
ft = 'java',
|
||||
|
@ -11,6 +12,14 @@ return {
|
|||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = function()
|
||||
local function neotest_output_and_switch()
|
||||
require('neotest').output.open { enter = true }
|
||||
end
|
||||
|
||||
-- Set key mapping for the function
|
||||
vim.keymap.set('n', '<leader>lw', neotest_output_and_switch, { desc = 'Neotest output and enter its window' })
|
||||
end,
|
||||
},
|
||||
{
|
||||
'nvim-neotest/neotest',
|
||||
|
|
Loading…
Reference in New Issue