-
-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
Info NeededMore information is requiredMore information is required
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux (Ubuntu)
What is the issue affecting?
Libraries
Expected Behaviour
In lua file, when I press gd for vim.lsp.buf.definition() on a requried file, it should jump to the file.
Actual Behaviour
In lua file, when I press gd for vim.lsp.buf.definition(), it shows two same locations in vertical split window.


Reproduction steps
This problem only shows in lua files, so I guess it related to lua-language-server, I want to know how to debug this problem in neovim setup.
Additional Notes
lua-language-server install by neovim plugin mason
Log File
LSP log
[START][2023-01-16 09:49:34] LSP logging initiated
[WARN][2023-01-16 09:49:34] .../lua/vim/lsp.lua:1065 "server_request: no handler found for" "workspace/diagnostic/refresh"
[WARN][2023-01-16 09:49:35] .../lua/vim/lsp.lua:1065 "server_request: no handler found for" "workspace/diagnostic/refresh"
[DEBUG][2023-01-16 09:49:52] .../lua/vim/lsp.lua:1381 "LSP[sumneko_lua]" "client.request" 1 "textDocument/definition"
{ position = { character = 14, line = 3 }, textDocument = { uri = "file:///home/dd/dotfiles/nvim/.config/nvim/init.lua" }} <function 1> 3
[DEBUG][2023-01-16 09:49:52] .../vim/lsp/rpc.lua:285 "rpc.send" { id = 2, jsonrpc = "2.0", method = "textDocument/definition", params = { position = { character = 14, line = 3 }, textDocument = { uri = "file:///home/dd/dotfiles/nvim/.config/nvim/init.lua" } }}
[DEBUG][2023-01-16 09:49:52] .../vim/lsp/rpc.lua:388 "rpc.receive"
{
id = 2, jsonrpc = "2.0", result = {
{ originSelectionRange = { ["end"] = { character = 22, line = 3 }, start = { character = 8, line = 3 } }, targetRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetSelectionRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetUri = "file:///home/dd/.config/nvim/lua/user/plugins.lua" },
{ originSelectionRange = { ["end"] = { character = 22, line = 3 }, start = { character = 8, line = 3 } }, targetRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetSelectionRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetUri = "file:///home/dd/dotfiles/nvim/.config/nvim/lua/user/plugins.lua" }
}
}
[TRACE][2023-01-16 09:49:52] ...lsp/handlers.lua:519 "default_handler"
"textDocument/definition" { ctx = '{\n bufnr = 3,\n client_id = 1,\n method = "textDocument/definition",\n params = {\n position = {\n character = 14,\n line = 3\n },\n textDocument = {\n uri = "file:///home/dd/dotfiles/nvim/.config/nvim/init.lua"\n }\n }\n}', result = { { originSelectionRange = { ["end"] = { character = 22, line = 3 }, start = { character = 8, line = 3 } }, targetRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetSelectionRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetUri = "file:///home/dd/.config/nvim/lua/user/plugins.lua" }, { originSelectionRange = { ["end"] = { character = 22, line = 3 }, start = { character = 8, line = 3 } }, targetRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetSelectionRange = { ["end"] = { character = 0, line = 0 }, start = { character = 0, line = 0 } }, targetUri = "file:///home/dd/dotfiles/nvim/.config/nvim/lua/user/plugins.lua" } }}
[DEBUG][2023-01-16 09:49:54] .../vim/lsp/rpc.lua:285 "rpc.send" { jsonrpc = "2.0", method = "textDocument/didOpen", params = { textDocument = { languageId = "lua", text = "local fn = vim.fn\n\n-- Automatically install packer\nlocal install_path = fn.stdpath \"data\" .. \"/site/pack/packer/start/packer.nvim\"\nif fn.empty(fn.glob(install_path)) > 0 then\n PACKER_BOOTSTRAP = fn.system {\n \"git\",\n \"clone\",\n \"--depth\",\n \"1\",\n \"https://github.com/wbthomason/packer.nvim\",\n install_path,\n }\n print \"Installing packer close and reopen Neovim...\"\n vim.cmd [[packadd packer.nvim]]\nend\n\n-- Autocommand that reloads neovim whenever you save the plugins.lua file\nvim.cmd [[\n augroup packer_user_config\n autocmd!\n autocmd BufWritePost plugins.lua source <afile> | PackerSync\n augroup end\n]]\n\n-- Use a protected call so we don't error out on first use\nlocal status_ok, packer = pcall(require, \"packer\")\nif not status_ok then\n return\nend\n\n-- Have packer use a popup window\npacker.init {\n display = {\n open_fn = function()\n return require(\"packer.util\").float { border = \"rounded\" }\n end,\n },\n git = {\n clone_timeout = 300, -- Timeout, in seconds, for git clones\n },\n}\n\n-- Install your plugins here\nreturn packer.startup(function(use)\n -- My plugins here\n use { \"wbthomason/packer.nvim\", commit = \"6afb67460283f0e990d35d229fd38fdc04063e0a\" } -- Have packer manage itself\n use { \"nvim-lua/plenary.nvim\", commit = \"4b7e52044bbb84242158d977a50c4cbcd85070c7\" } -- Useful lua functions used by lots of plugins\n use { \"windwp/nvim-autopairs\", commit = \"4fc96c8f3df89b6d23e5092d31c866c53a346347\" } -- Autopairs, integrates with both cmp and treesitter\n use { \"numToStr/Comment.nvim\", commit = \"97a188a98b5a3a6f9b1b850799ac078faa17ab67\" }\n use { \"JoosepAlviste/nvim-ts-context-commentstring\", commit = \"4d3a68c41a53add8804f471fcc49bb398fe8de08\" }\n use { \"kyazdani42/nvim-web-devicons\", commit = \"563f3635c2d8a7be7933b9e547f7c178ba0d4352\" }\n use { \"kyazdani42/nvim-tree.lua\", commit = \"7282f7de8aedf861fe0162a559fc2b214383c51c\" }\n use { \"moll/vim-bbye\", commit = \"25ef93ac5a87526111f43e5110675032dbcacf56\" }\n use { \"nvim-lualine/lualine.nvim\", commit = \"a52f078026b27694d2290e34efa61a6e4a690621\" }\n use { \"akinsho/toggleterm.nvim\", commit = \"2a787c426ef00cb3488c11b14f5dcf892bbd0bda\" }\n use { \"ahmedkhalf/project.nvim\", commit = \"628de7e433dd503e782831fe150bb750e56e55d6\" }\n use { \"lewis6991/impatient.nvim\", commit = \"b842e16ecc1a700f62adb9802f8355b99b52a5a6\" }\n use { \"lukas-reineke/indent-blankline.nvim\", commit = \"db7cbcb40cc00fc5d6074d7569fb37197705e7f6\" }\n use { \"goolord/alpha-nvim\", commit = \"0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31\" }\n use { \"tpope/vim-repeat\", commit = \"24afe922e6a05891756ecf331f39a1f6743d3d5a\"}\n use { \"tpope/vim-surround\", commit = \"bf3480dc9ae7bea34c78fbba4c65b4548b5b1fea\"}\n use { \"tpope/vim-abolish\", commit = \"3f0c8faadf0c5b68bcf40785c1c42e3731bfa522\"}\n\n\n use { \"rrethy/vim-hexokinase\",\n commit = \"62324b43ea858e268fb70665f7d012ae67690f43\",\n run = \"make hexokinase\"} -- gui color\n\n -- Colorschemes\n use { \"folke/tokyonight.nvim\", commit = \"66bfc2e8f754869c7b651f3f47a2ee56ae557764\" }\n use { \"catppuccin/nvim\", as = \"catppuccin\", disable = false, commit = \"56604126c671aac3bebd6a33c9d1c55ac9359ce1\" }\n\n -- cmp plugins\n use { \"hrsh7th/nvim-cmp\", commit = \"b0dff0ec4f2748626aae13f011d1a47071fe9abc\" } -- The completion plugin\n use { \"hrsh7th/cmp-buffer\", commit = \"3022dbc9166796b644a841a02de8dd1cc1d311fa\" } -- buffer completions\n use { \"hrsh7th/cmp-path\", commit = \"447c87cdd6e6d6a1d2488b1d43108bfa217f56e1\" } -- path completions\n use { \"saadparwaiz1/cmp_luasnip\", commit = \"a9de941bcbda508d0a45d28ae366bb3f08db2e36\" } -- snippet completions\n use { \"hrsh7th/cmp-nvim-lsp\", commit = \"affe808a5c56b71630f17aa7c38e15c59fd648a8\" }\n use { \"hrsh7th/cmp-nvim-lua\", commit = \"d276254e7198ab7d00f117e88e223b4bd8c02d21\" }\n\n -- snippets\n use { \"L3MON4D3/LuaSnip\", commit = \"8f8d493e7836f2697df878ef9c128337cbf2bb84\" } -- snippet engine\n use { \"rafamadriz/friendly-snippets\", commit = \"2be79d8a9b03d4175ba6b3d14b082680de1b31b1\" } -- a bunch of snippets to use\n\n -- LSP\n use { \"neovim/nvim-lspconfig\", commit = \"f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda\" } -- enable LSP\n use { \"williamboman/mason.nvim\", commit = \"bfc5997e52fe9e20642704da050c415ea1d4775f\"}\n use { \"williamboman/mason-lspconfig.nvim\", commit = \"0eb7cfefbd3a87308c1875c05c3f3abac22d367c\" }\n use { \"jose-elias-alvarez/null-ls.nvim\", commit = \"c0c19f32b614b3921e17886c541c13a72748d450\" } -- for formatters and linters\n\n use { \"zbirenbaum/copilot.lua\", commit = \"5b911f2d8ecccc684c13fdb8af4145cca19dc3cf\" }\n use {\n \"zbirenbaum/copilot-cmp\",\n commit = \"b732a58ac8b7287b981cd9f0d9c0f61e5e9d5760\",\n after = { \"copilot.lua\" },\n }\n\n\n -- Git\n use { \"lewis6991/gitsigns.nvim\", commit = \"f98c85e7c3d65a51f45863a34feb4849c82f240f\" }\n use { \"TimUntersberger/neogit\", commit = \"c1a2a1aa5b4fd774dc26c53f7f256f1320c0ff15\" }\n\tuse { \"sindrets/diffview.nvim\", commit = \"a1fbcaa7e1e154cfa793ab44da4a6eb0ae15458d\"}\n\n -- DAP\n use { \"mfussenegger/nvim-dap\", commit = \"6b12294a57001d994022df8acbe2ef7327d30587\" }\n use { \"rcarriga/nvim-dap-ui\", commit = \"1cd4764221c91686dcf4d6b62d7a7b2d112e0b13\" }\n use { \"ravenxrz/DAPInstall.nvim\", commit = \"8798b4c36d33723e7bba6ed6e2c202f84bb300de\" }\n\n use { \"mbbill/undotree\", commit = \"bd60cb564e3c3220b35293679669bb77af5f389d\" } -- -- undotree\n use { \"christoomey/vim-tmux-navigator\", commit = \"bd4c38be5b4882991494cf77c0601a55bc45eebf\"} -- work with tmux keybinding\n use { \"lambdalisue/suda.vim\" , commit = \"2fc45dc4bcafb245b613ebd6847a244924735cc6\"} -- --make nvim can edit with root files\n use { \"rhysd/vim-grammarous\", disable = true } -- grammar check\n use { \"ggandor/leap.nvim\", commit = \"a9d3232b178fddabb6660dc19abf40e05d6841b0\"} -- leap for easy motion\n use { \"junegunn/vim-easy-align\", commit = \"12dd6316974f71ce333e360c0260b4e1f81169c3\"} -- align code\n\n -- Telescope\n use { \"nvim-telescope/telescope.nvim\", commit = \"76ea9a898d3307244dce3573392dcf2cc38f340f\" }\n use {\n 'nvim-telescope/telescope-fzf-native.nvim',\n run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build',\n commit = \"65c0ee3d4bb9cb696e262bca1ea5e9af3938fc90\"\n }\n use {\"AckslD/nvim-neoclip.lua\", commit = \"3e0b9a134838c7356d743f84a272c92410c47d8d\"}\n use { \"sudormrfbin/cheatsheet.nvim\", commit = \"9716f9aaa94dd1fd6ce59b5aae0e5f25e2a463ef\" }\n\n -- Treesitter\n use { \"nvim-treesitter/nvim-treesitter\", commit = \"8e763332b7bf7b3a426fd8707b7f5aa85823a5ac\" }\n use { \"nvim-treesitter/nvim-treesitter-context\", commit = \"0dd5eae6dbf226107da2c2041ffbb695d9e267c1\" }\n\n use { \"vifm/vifm.vim\", commit = \"a84365d01f9d2854165309392ebce6ba9134d4fd\"} -- support vifm file manager\n use { \"wakatime/vim-wakatime\", commit = \"4692ec3e77ade9e65171182296cca74352a39a12\" } -- wakatime work time monitor\n use { \"folke/which-key.nvim\", commit = \"6885b669523ff4238de99a7c653d47b081b5506d\" } -- which-key\n\n -- language related tools\n ---- ros\n ---- for ros, lock this, since there ia a bug fixed locally\n use{ \"taketwo/vim-ros\", lock = true, commit = \"dd1cf9df82c8588bb9d28352f82002647a354306\" }\n use { 'thibthib18/ros-nvim', commit = \"27498f6eb8e5c5df1a08cf6942f77bf666d8fb0f\", config=function()\n require 'ros-nvim'.setup({})\n end\n }\n\n -- Automatically set up your configuration after cloning packer.nvim\n -- Put this at the end after all plugins\n if PACKER_BOOTSTRAP then\n require(\"packer\").sync()\n end\nend)\n", uri = "file:///home/dd/dotfiles/nvim/.config/nvim/lua/user/plugins.lua", version = 0 } }}
[DEBUG][2023-01-16 09:49:54] .../vim/lsp/rpc.lua:388 "rpc.receive" { jsonrpc = "2.0", method = "$/status/report", params = { text = "😺Lua", tooltip = "Workspace : /home/dd/dotfiles/nvim/.config/nvim\nCached files: 114/114\nMemory usage: 64M" }}
[TRACE][2023-01-16 09:49:54] .../lua/vim/lsp.lua:1045 "notification" "$/status/report" { text = "😺Lua", tooltip = "Workspace : /home/dd/dotfiles/nvim/.config/nvim\nCached files: 114/114\nMemory usage: 64M"}
[INFO][2023-01-16 09:50:03] .../lua/vim/lsp.lua:1808 "exit_handler" { { _on_attach = <function 1>, attached_buffers = { [3] = true, [6] = true }, cancel_request = <function 2>, commands = {}, config = { _on_attach = <function 3>, autostart = true, capabilities = { callHierarchy = { dynamicRegistration = false }, textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = { "", "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } } }, dataSupport = true, dynamicRegistration = false, isPreferredSupport = true, resolveSupport = { properties = { "edit" } } }, completion = { completionItem = { commitCharactersSupport = true, deprecatedSupport = true, documentationFormat = { "markdown", "plaintext" }, insertReplaceSupport = true, labelDetailsSupport = true, preselectSupport = true, resolveSupport = { properties = { "documentation", "detail", "additionalTextEdits" } }, snippetSupport = true, tagSupport = { valueSet = { 1 } } }, completionItemKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 } }, contextSupport = false, dynamicRegistration = false }, declaration = { linkSupport = true }, definition = { linkSupport = true }, documentHighlight = { dynamicRegistration = false }, documentSymbol = { dynamicRegistration = false, hierarchicalDocumentSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, hover = { contentFormat = { "markdown", "plaintext" }, dynamicRegistration = false }, implementation = { linkSupport = true }, publishDiagnostics = { relatedInformation = true, tagSupport = { valueSet = { 1, 2 } } }, references = { dynamicRegistration = false }, rename = { dynamicRegistration = false, prepareSupport = true }, signatureHelp = { dynamicRegistration = false, signatureInformation = { activeParameterSupport = true, documentationFormat = { "markdown", "plaintext" }, parameterInformation = { labelOffsetSupport = true } } }, synchronization = { didSave = true, dynamicRegistration = false, willSave = false, willSaveWaitUntil = false }, typeDefinition = { linkSupport = true } }, window = { showDocument = { support = false }, showMessage = { messageActionItem = { additionalPropertiesSupport = false } }, workDoneProgress = true }, workspace = { applyEdit = true, configuration = true, symbol = { dynamicRegistration = false, hierarchicalWorkspaceSymbolSupport = true, symbolKind = { valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 } } }, workspaceEdit = { resourceOperations = { "rename", "create", "delete" } }, workspaceFolders = true } }, cmd = { "lua-language-server" }, cmd_cwd = "/home/dd/dotfiles/nvim/.config/nvim", filetypes = { "lua" }, flags = {}, get_language_id = <function 4>, handlers = <1>{}, init_options = vim.empty_dict(), log_level = 2, message_level = 2, name = "sumneko_lua", on_attach = <function 5>, on_exit = <function 6>, on_init = <function 7>, root_dir = "/home/dd/dotfiles/nvim/.config/nvim", settings = { Lua = { diagnostics = { globals = { "vim" } }, telemetry = { enable = false }, workspace = { library = { ["/home/dd/.config/nvim/lua"] = true, ["/usr/local/share/nvim/runtime/lua"] = true } } } }, single_file_support = true, workspace_folders = <2>{ { name = "/home/dd/dotfiles/nvim/.config/nvim", uri = "file:///home/dd/dotfiles/nvim/.config/nvim" } }, <metatable> = <3>{ __tostring = <function 8> } }, handlers = <table 1>, id = 1, initialized = true, is_stopped = <function 9>, messages = { messages = {}, name = "sumneko_lua", progress = { [2] = { done = true, percentage = 100, title = "Loading workspace" }, [3] = { done = true, percentage = 100, title = "Loading workspace" } }, status = {} }, name = "sumneko_lua", notify = <function 10>, offset_encoding = "utf-16", request = <function 11>, request_sync = <function 12>, requests = {}, rpc = { is_closing = <function 13>, notify = <function 14>, request = <function 15>, terminate = <function 16> }, server_capabilities = { codeActionProvider = { codeActionKinds = { "", "quickfix", "refactor.rewrite", "refactor.extract" }, resolveProvider = false }, colorProvider = true, completionProvider = { resolveProvider = true, triggerCharacters = { "\t", "\n", ".", ":", "(", "'", '"', "[", ",", "#", "*", "@", "|", "=", "-", "{", " ", "+", "?" } }, definitionProvider = true, documentFormattingProvider = false, documentHighlightProvider = true, documentOnTypeFormattingProvider = { firstTriggerCharacter = "\n" }, documentRangeFormattingProvider = true, documentSymbolProvider = true, executeCommandProvider = { commands = { "lua.removeSpace", "lua.solve", "lua.jsonToLua", "lua.setConfig", "lua.autoRequire" } }, foldingRangeProvider = true, hoverProvider = true, inlayHintProvider = { resolveProvider = true }, offsetEncoding = "utf-16", referencesProvider = true, renameProvider = { prepareProvider = true }, semanticTokensProvider = { full = true, legend = { tokenModifiers = { "declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary", "global" }, tokenTypes = { "namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "event", "function", "method", "macro", "keyword", "modifier", "comment", "string", "number", "regexp", "operator", "decorator" } }, range = true }, signatureHelpProvider = { triggerCharacters = { "(", "," } }, textDocumentSync = { change = 2, openClose = true, save = { includeText = false } }, typeDefinitionProvider = true, workspace = { fileOperations = { didRename = { filters = { { pattern = { glob = "/home/dd/dotfiles/nvim/.config/nvim/**", options = { ignoreCase = true } } } } } }, workspaceFolders = { changeNotifications = true, supported = true } }, workspaceSymbolProvider = true }, stop = <function 17>, supports_method = <function 18>, workspaceFolders = <table 2>, workspace_did_change_configuration = <function 19>, workspace_folders = <table 2>, <metatable> = { __index = <function 20> } }, { _on_attach = <function 21>, attached_buffers = { [3] = true, [6] = true }, cancel_request = <function 22>, commands = {}, config = { cmd = <function 23>, filetypes = { "javascriptreact", "json", "scss", "graphql", "markdown.mdx", "yaml", "markdown", "javascript", "jsonc", "html", "vue", "less", "handlebars", "typescriptreact", "typescript", "toml", "css", "python", "lua", "cmake" }, flags = { debounce_text_changes = 250 }, get_language_id = <function 24>, name = "null-ls", on_attach = <function 25>, on_exit = <function 26>, on_init = <function 27>, root_dir = "/home/dd/dotfiles/nvim/.config/nvim", settings = {} }, handlers = {}, id = 2, initialized = true, is_stopped = <function 28>, messages = { messages = {}, name = "null-ls", progress = {}, status = {} }, name = "null-ls", notify = <function 29>, offset_encoding = "utf-16", request = <function 30>, request_sync = <function 31>, requests = {}, rpc = { handle = { is_closing = <function 32>, kill = <function 33> }, is_closing = <function 34>, notify = <function 35>, pid = 5001, request = <function 36>, terminate = <function 37> }, server_capabilities = { codeActionProvider = { resolveProvider = false }, completionProvider = { allCommitCharacters = {}, completionItem = { labelDetailsSupport = true }, resolveProvider = false, triggerCharacters = { ".", ":", "-" } }, documentFormattingProvider = true, documentRangeFormattingProvider = true, executeCommandProvider = true, hoverProvider = true, textDocumentSync = { change = 1, openClose = true, save = { includeText = true } } }, stop = <function 38>, supports_method = <function 39>, workspaceFolders = <4>{ { name = "/home/dd/dotfiles/nvim/.config/nvim", uri = "file:///home/dd/dotfiles/nvim/.config/nvim" } }, workspace_folders = <table 4>, <metatable> = { __index = <function 40> } } }
[DEBUG][2023-01-16 09:50:03] .../vim/lsp/rpc.lua:285 "rpc.send" { id = 3, jsonrpc = "2.0", method = "shutdown"}
file_home_dd_dotfiles_nvim_.config_nvim.log from /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/log
[15:11:17.660][info] [#0:/home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/main.lua:66]: Lua Lsp startup, root: /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server
[15:11:17.660][info] [#0:/home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/main.lua:67]: ROOT: /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server
[15:11:17.660][info] [#0:/home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/main.lua:68]: LOGPATH: /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/log
[15:11:17.660][info] [#0:/home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/main.lua:69]: METAPATH: /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/meta
[15:11:17.660][info] [#0:/home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/main.lua:70]: VERSION: 3.6.4-dev
[15:11:17.689][info] [#0:script/service/service.lua:141]:
========= Medical Examination Report =========
--------------- Memory ---------------
Total: 1.563 MB
# 00 : 1.563 MB
# 01 : 0.000 MB
# 02 : 0.000 MB
# 03 : 0.000 MB
# 04 : 0.000 MB
--------------- Coroutine ---------------
Total: 0
Running: 0
Suspended: 0
Normal: 0
Dead: 0
--------------- Cache ---------------
Total: 1
Dead: 0
--------------- RPC ---------------
Holdon: 0
Waiting: 0
==============================================
[15:11:17.694][info] [#0:script/language.lua:137]: VSC language: nil
[15:11:17.694][info] [#0:script/language.lua:138]: LS language: en-us
[15:11:17.694][info] [#0:script/workspace/workspace.lua:38]: Workspace init root: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.694][info] [#0:script/workspace/workspace.lua:42]: Log path: /home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/log/file_home_dd_dotfiles_nvim_.config_nvim.log
[15:11:17.694][info] [#0:script/workspace/workspace.lua:51]: Workspace create: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.798][info] [#0:script/provider/provider.lua:41]: Load config from client file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.799][info] [#0:script/provider/provider.lua:42]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.799][info] [#0:script/provider/provider.lua:41]: Load config from client file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.800][info] [#0:script/provider/provider.lua:42]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.800][info] [#0:script/provider/provider.lua:41]: Load config from client file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.801][info] [#0:script/provider/provider.lua:42]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.801][info] [#0:script/provider/provider.lua:56]: Load config from client fallback
[15:11:17.802][info] [#0:script/provider/provider.lua:57]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.802][info] [#0:script/library.lua:209]: Init builtin library at: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.833][info] [#0:script/plugin.lua:86]: plugin path: /home/dd/dotfiles/nvim/.config/nvim
[15:11:17.833][warn] [#0:script/plugin.lua:101]: plugin not found: /home/dd/dotfiles/nvim/.config/nvim
[15:11:17.833][info] [#0:script/library.lua:209]: Init builtin library at: nil
[15:11:17.847][info] [#0:script/provider/provider.lua:56]: Load config from client fallback
[15:11:17.848][info] [#0:script/provider/provider.lua:57]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.848][info] [#0:script/provider/provider.lua:56]: Load config from client fallback
[15:11:17.848][info] [#0:script/provider/provider.lua:57]: {
Lua = {
diagnostics = {
globals = { "vim" }
},
telemetry = {
enable = false
},
workspace = {
library = {
["/home/dd/.config/nvim/lua"] = true,
["/usr/local/share/nvim/runtime/lua"] = true
}
}
}
}
[15:11:17.948][info] [#0:script/workspace/workspace.lua:304]: Preload start: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.951][info] [#0:script/workspace/workspace.lua:310]: Scan files at: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:17.953][info] [#0:script/workspace/workspace.lua:304]: Preload start: <fallback>
[15:11:17.954][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///home/dd/.config/nvim/lua
[15:11:17.960][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///usr/local/share/nvim/runtime/lua
[15:11:17.972][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/meta/Lua%205.4%20en-us%20utf8
[15:11:17.974][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///home/dd/.config/nvim/lua
[15:11:17.977][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///usr/local/share/nvim/runtime/lua
[15:11:17.980][info] [#0:script/workspace/workspace.lua:327]: Scan library at: file:///home/dd/.local/share/nvim/mason/packages/lua-language-server/extension/server/meta/Lua%205.4%20en-us%20utf8
[15:11:18.083][info] [#0:script/workspace/workspace.lua:347]: Found 78 files at: <fallback>
[15:11:18.083][info] [#0:script/workspace/loading.lua:157]: Load files from disk: <fallback>
[15:11:18.083][info] [#0:script/workspace/workspace.lua:347]: Found 114 files at: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.083][info] [#0:script/workspace/loading.lua:157]: Load files from disk: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.642][info] [#0:script/workspace/loading.lua:169]: Loaded files takes [0.476] sec: <fallback>
[15:11:18.642][info] [#0:script/workspace/loading.lua:178]: Compile files takes [0.000] sec: <fallback>
[15:11:18.642][info] [#0:script/workspace/loading.lua:179]: Loaded finish: <fallback>
[15:11:18.642][info] [#0:script/workspace/workspace.lua:349]: Preload finish at: <fallback>
[15:11:18.700][warn] [#0:script/proto/proto.lua:122]: Response of [workspace/diagnostic/refresh] error [-32601]: MethodNotFound
[15:11:18.804][info] [#0:script/workspace/loading.lua:169]: Loaded files takes [0.538] sec: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.805][info] [#0:script/workspace/loading.lua:178]: Compile files takes [0.000] sec: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.805][info] [#0:script/workspace/loading.lua:179]: Loaded finish: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.805][info] [#0:script/workspace/workspace.lua:349]: Preload finish at: file:///home/dd/dotfiles/nvim/.config/nvim
[15:11:18.890][info] [#0:script/provider/diagnostic.lua:552]: Diagnostics scope [file:///home/dd/dotfiles/nvim/.config/nvim], files count:[114]
[15:11:18.890][warn] [#0:script/proto/proto.lua:122]: Response of [workspace/diagnostic/refresh] error [-32601]: MethodNotFound
[15:11:19.102][info] [#0:script/provider/diagnostic.lua:569]: Diagnostics scope [file:///home/dd/dotfiles/nvim/.config/nvim] finished, takes [0.213] sec.
[15:11:37.903][info] [#0:script/provider/provider.lua:170]: Server shutdown.
[15:11:37.903][warn] [#0:script/pub/report.lua:25]: Load proto error: Disconnected!
Metadata
Metadata
Assignees
Labels
Info NeededMore information is requiredMore information is required