Compare commits
3 Commits
096fc6aff5
...
e34c928b4c
Author | SHA1 | Date | |
---|---|---|---|
|
e34c928b4c | ||
|
37400f86d6 | ||
|
41ea46b59a |
19
init.lua
19
init.lua
@ -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 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
12
lua/custom/plugins/smear_cursor.lua
Normal file
12
lua/custom/plugins/smear_cursor.lua
Normal 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
|
||||||
|
},
|
||||||
|
}
|
6
lua/custom/plugins/smooth_scroll.lua
Normal file
6
lua/custom/plugins/smooth_scroll.lua
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"karb94/neoscroll.nvim",
|
||||||
|
config = function ()
|
||||||
|
require('neoscroll').setup({})
|
||||||
|
end
|
||||||
|
}
|
9
lua/custom/plugins/tiny_inline_diagnostic.lua
Normal file
9
lua/custom/plugins/tiny_inline_diagnostic.lua
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user