Improve perform

This commit is contained in:
huyjaky
2025-10-26 18:14:56 +07:00
parent 3eda456458
commit 1f7fda6f21
6 changed files with 25 additions and 11 deletions

View File

@@ -119,6 +119,8 @@ return {
-- client.server_capabilities.hoverProvider = false
-- client.server_capabilities.renameProvider = false
-- client.server_capabilities.definitionProvider = false
-- client.server_capabilities.signatureHelpProvider = false
client.server_capabilities.codeLensProvider = false
client.server_capabilities.colorProvider = false
client.server_capabilities.callHierarchyProvider = false
@@ -131,7 +133,6 @@ return {
client.server_capabilities.inlineCompletionProvider = false
client.server_capabilities.inlineValueProvider = false
client.server_capabilities.notebookDocumentSync = false
client.server_capabilities.signatureHelpProvider = false
client.server_capabilities.typeDefinitionProvider = false
client.server_capabilities.workspaceSymbolProvider = false
client.server_capabilities.monikerProvider = false

View File

@@ -9,6 +9,9 @@ return {
{
"Saghen/blink.cmp",
opts = {
signature = {
enabled = false,
},
keymap = {
preset = "default",
["<C-f>"] = false,
@@ -25,9 +28,9 @@ return {
friendly_snippets = {
enable = false,
},
}
}
}
},
},
},
},
completion = {
list = {
@@ -53,7 +56,7 @@ return {
auto_brackets = { enabled = false },
},
documentation = {
auto_show = false,
auto_show = true,
auto_show_delay_ms = 0,
window = {
border = "rounded",

View File

@@ -2,25 +2,29 @@ return {
before_init = function(_, c)
if not c.settings then c.settings = {} end
if not c.settings.python then c.settings.python = {} end
c.settings.python.pythonPath = vim.fn.exepath "python"
c.settings.python.pythonPath = vim.fn.exepath "python3"
end,
settings = {
basedpyright = {
disableLanguageServices = false,
disableOrganizeImports = true,
disableTaggedHints = true,
useLibraryCodeForTypes = false,
openFilesOnly = true,
analysis = {
autoSearchPath = true,
autoSearchPath = false,
useLibraryCodeForTypes = false,
logLevel = "Trace",
typeCheckingMode = "basic",
deprecateTypingAliases = false,
diagnosticMode = "openFilesOnly",
inlayHints = {
variableTypes = true,
genericTypes = true,
callArgumentNames = true,
callArgumentNames = false,
},
ignore = {
"**/unsloth_compiled_cache/**",

View File

@@ -11,7 +11,8 @@ return {
{ "JoosepAlviste/nvim-ts-context-commentstring", enabled = false },
{ "windwp/nvim-ts-autotag", enabled = false },
{ "ray-x/lsp_signature.nvim", enabled = false },
-- { "ray-x/lsp_signature.nvim", enabled = false },
{ "brenoprata10/nvim-highlight-colors", enabled = false },
-- Disabled development plugins
{ "mfussenegger/nvim-dap", enabled = false },

View File

@@ -40,6 +40,7 @@ return {
},
{
"OXY2DEV/markview.nvim",
lazy = false,
ft = function()
local plugin = require("lazy.core.config").spec.plugins["markview.nvim"]
local opts = require("lazy.core.plugin").values(plugin, "opts", false)
@@ -53,6 +54,7 @@ return {
require("astrocore").list_insert_unique(opts.ensure_installed, { "html", "markdown", "markdown_inline" })
end
end,
"saghen/blink.cmp"
},
opts = {
preview = {

View File

@@ -10,8 +10,12 @@ return {
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
event = "InsertEnter",
opts = {
bind = true,
handler_option = {
border = "rounded",
},
hint_enable = false,
doc_lines = 0,
},
@@ -35,7 +39,6 @@ return {
dim = { enabled = false },
terminal = { enabled = false },
profiler = { enabled = false },
},
},