fix: python server + configs
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
|
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
|
||||||
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
|
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
|
"replacer.nvim": { "branch": "master", "commit": "32e1713230844fa52f7f0598c59295de3c90dc95" },
|
||||||
"smear-cursor.nvim": { "branch": "main", "commit": "4b86df8a0c5f46e708616b21a02493bb0e47ecbd" },
|
"smear-cursor.nvim": { "branch": "main", "commit": "4b86df8a0c5f46e708616b21a02493bb0e47ecbd" },
|
||||||
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
|
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
return {
|
return {
|
||||||
cmd = { 'pyright-langserver', '--stdio' },
|
cmd = { 'pylsp' },
|
||||||
filetypes = { 'python' },
|
filetypes = { 'python' },
|
||||||
root_markers = { 'setup.py', 'setup.cfg', 'requirements.txt', '.git' },
|
root_markers = { 'pyproject.toml', 'setup.py', 'setup.cfg', 'requirements.txt', '.git' },
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,35 +2,47 @@
|
|||||||
-- │ Telescope │
|
-- │ Telescope │
|
||||||
-- ╰───────────╯
|
-- ╰───────────╯
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||||
{
|
{
|
||||||
"isak102/telescope-git-file-history.nvim",
|
"isak102/telescope-git-file-history.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"tpope/vim-fugitive",
|
"tpope/vim-fugitive",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cmd = "Telescope",
|
cmd = "Telescope",
|
||||||
opts = function()
|
opts = function()
|
||||||
return require("plugins.opts.telescope")
|
return require("plugins.opts.telescope")
|
||||||
end,
|
end,
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local telescope = require("telescope")
|
local telescope = require("telescope")
|
||||||
telescope.setup(opts)
|
telescope.setup(opts)
|
||||||
|
|
||||||
-- load extensions
|
-- load extensions
|
||||||
for _, ext in ipairs(opts.extensions_list) do
|
for _, ext in ipairs(opts.extensions_list) do
|
||||||
telescope.load_extension(ext)
|
telescope.load_extension(ext)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- Multi buffer search
|
-- Multi buffer search
|
||||||
{
|
{
|
||||||
"nvim-pack/nvim-spectre",
|
"nvim-pack/nvim-spectre",
|
||||||
},
|
},
|
||||||
|
-- Multi buffer search + replace
|
||||||
|
{
|
||||||
|
'gabrielpoca/replacer.nvim',
|
||||||
|
opts = { rename_files = false },
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
'<leader>h',
|
||||||
|
function() require('replacer').run() end,
|
||||||
|
desc = "run replacer.nvim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,53 +2,53 @@
|
|||||||
-- │ Styling │
|
-- │ Styling │
|
||||||
-- ╰─────────╯
|
-- ╰─────────╯
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
-- dir = "~/Documents/Code/plain-colors.nvim",
|
dir = "~/Documents/Code/plain-colors.nvim",
|
||||||
"rose-pine/neovim",
|
-- "rose-pine/neovim",
|
||||||
name = "rose-pine",
|
name = "rose-pine",
|
||||||
opts = {
|
opts = {
|
||||||
variant = "dawn", -- dark, light, darker | dawn
|
variant = "darker", -- dark, light, darker | dawn
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{ "echasnovski/mini.icons" },
|
{ "echasnovski/mini.icons" },
|
||||||
|
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = function()
|
opts = function()
|
||||||
return require("plugins.opts.noice")
|
return require("plugins.opts.noice")
|
||||||
end,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
-- OPTIONAL:
|
-- OPTIONAL:
|
||||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||||
-- If not available, we use `mini` as the fallback
|
-- If not available, we use `mini` as the fallback
|
||||||
-- "rcarriga/nvim-notify",
|
-- "rcarriga/nvim-notify",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"shortcuts/no-neck-pain.nvim",
|
"shortcuts/no-neck-pain.nvim",
|
||||||
version = "*",
|
version = "*",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"sphamba/smear-cursor.nvim",
|
"sphamba/smear-cursor.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
smear_between_buffers = false,
|
smear_between_buffers = false,
|
||||||
smear_between_neighbor_lines = true,
|
smear_between_neighbor_lines = true,
|
||||||
scroll_buffer_space = true,
|
scroll_buffer_space = true,
|
||||||
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
||||||
legacy_computing_symbols_support = false,
|
legacy_computing_symbols_support = false,
|
||||||
smear_insert_mode = true,
|
smear_insert_mode = true,
|
||||||
|
|
||||||
-- fast smear
|
-- fast smear
|
||||||
stiffness = 0.8, -- 0.6 [0, 1]
|
stiffness = 0.8, -- 0.6 [0, 1]
|
||||||
trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
||||||
stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||||
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||||
distance_stop_animating = 0.5, -- 0.1 > 0
|
distance_stop_animating = 0.5, -- 0.1 > 0
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user