Compare commits

...

3 Commits

Author SHA1 Message Date
lucas barbieri
e34c928b4c feat: add eye candy plugins 2024-11-28 11:06:28 -03:00
lucas barbieri
37400f86d6 feat: add lsp configs 2024-11-28 11:06:13 -03:00
lucas barbieri
41ea46b59a refactor: standardize file names 2024-11-28 11:06:04 -03:00
9 changed files with 42 additions and 4 deletions

View File

@ -240,7 +240,7 @@ vim.keymap.set('n', '<leader>gf', require('telescope.builtin').git_files, { desc
vim.keymap.set('n', '<leader>sf', require('telescope.builtin').find_files, { desc = '[S]earch [F]iles' }) vim.keymap.set('n', '<leader>sf', require('telescope.builtin').find_files, { desc = '[S]earch [F]iles' })
vim.keymap.set('n', '<leader>sh', require('telescope.builtin').help_tags, { desc = '[S]earch [H]elp' }) vim.keymap.set('n', '<leader>sh', require('telescope.builtin').help_tags, { desc = '[S]earch [H]elp' })
vim.keymap.set('n', '<leader>sw', require('telescope.builtin').grep_string, { desc = '[S]earch current [W]ord' }) vim.keymap.set('n', '<leader>sw', require('telescope.builtin').grep_string, { desc = '[S]earch current [W]ord' })
vim.keymap.set('n', '<leader>sg', require('telescope.builtin').live_grep, { desc = '[S]earch by [G]rep' }) vim.keymap.set('n', '<leader>rg', require('telescope.builtin').live_grep, { desc = '[S]earch by [G]rep' })
vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' }) vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' })
-- [[ Configure Treesitter ]] -- [[ Configure Treesitter ]]
@ -364,7 +364,18 @@ local servers = {
}, },
html = { provideFormatter = false }, html = { provideFormatter = false },
cssls = {}, cssls = {},
pyright = {}, pyright = {
settings = {
pyright = {
disableOrganizeImports = false,
},
python = {
analysis = {
diagnosticMode = "workspace"
}
}
}
},
jdtls = { jdtls = {
java = { java = {
@ -391,7 +402,7 @@ local servers = {
{ {
name = '@vue/typescript-plugin', name = '@vue/typescript-plugin',
location = vue_language_server_path, location = vue_language_server_path,
languages = { 'vue' }, languages = { 'vue', "typescript", "javascript" },
}, },
}, },
}, },
@ -400,7 +411,7 @@ local servers = {
lua_ls = { lua_ls = {
Lua = { Lua = {
workspace = { checkThirdParty = false }, workspace = { checkThirdParty = true },
telemetry = { enable = false }, telemetry = { enable = false },
}, },
}, },

View File

@ -0,0 +1,12 @@
return {
"sphamba/smear-cursor.nvim",
opts = {
legacy_computing_symbols_support = true,
transparent_bg_fallback_color = "#303030",
stiffness = 0.8, -- 0.6 [0, 1]
trailing_stiffness = 0.6, -- 0.3 [0, 1]
trailing_exponent = 0, -- 0.1 >= 0
distance_stop_animating = 0.5, -- 0.1 > 0
hide_target_hack = false, -- true boolean
},
}

View File

@ -0,0 +1,6 @@
return {
"karb94/neoscroll.nvim",
config = function ()
require('neoscroll').setup({})
end
}

View File

@ -0,0 +1,9 @@
return {
"rachartier/tiny-inline-diagnostic.nvim",
event = "VeryLazy", -- Or `LspAttach`
priority = 1000, -- needs to be loaded in first
config = function()
vim.diagnostic.config({ virtual_text = false })
require('tiny-inline-diagnostic').setup({})
end
}