Codeactions with Clangd not working for me #1295
-
I have a problem where I cannot use any code actions that have been highlighted to me when I am programming in C. I use the Clangd LSP. Debug on error (when I run eglot-code-actions):
Eglot configuration:
Eglot log: Details``` [internal] Wed Sep 20 08:28:24 2023: (:message "Running language server: clangd -j=8 --log=error --background-index --clang-tidy --completion-style=detailed --pch-storage=memory --header-insertion=never --header-insertion-decorators=0") [client-request] (id:1) Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 582023 :clientInfo (:name "Eglot") :rootPath "/home/aayush/projects/nicer/" :rootUri "file:///home/aayush/projects/nicer" :initializationOptions #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges t) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t :workspaceFolders t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport t :deprecatedSupport t :resolveSupport (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["markdown" "plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :documentationFormat ["markdown" "plaintext"] :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :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])) :documentHighlight (:dynamicRegistration :json-false) :codeAction (:dynamicRegistration :json-false :resolveSupport (:properties ["edit" "command"]) :dataSupport t :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :inlayHint (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false :codeDescriptionSupport :json-false :tagSupport (:valueSet [1 2]))) :window (:showDocument (:support t) :workDoneProgress t) :general (:positionEncodings ["utf-32" "utf-8" "utf-16"]) :experimental #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) :workspaceFolders [(:uri "file:///home/aayush/projects/nicer" :name "~/projects/nicer/")])) [server-reply] (id:1) Wed Sep 20 08:28:24 2023: (:id 1 :jsonrpc "2.0" :result (:capabilities (:astProvider t :callHierarchyProvider t :clangdInlayHintsProvider t :codeActionProvider (:codeActionKinds ["quickfix" "refactor" "info"]) :compilationDatabase (:automaticReload t) :completionProvider (:resolveProvider :json-false :triggerCharacters ["." "<" ">" ":" "\"" "/" "*"]) :declarationProvider t :definitionProvider t :documentFormattingProvider t :documentHighlightProvider t :documentLinkProvider (:resolveProvider :json-false) :documentOnTypeFormattingProvider (:firstTriggerCharacter "\n" :moreTriggerCharacter []) :documentRangeFormattingProvider t :documentSymbolProvider t :executeCommandProvider (:commands ["clangd.applyFix" "clangd.applyTweak"]) :foldingRangeProvider t :hoverProvider t :implementationProvider t :inlayHintProvider t :memoryUsageProvider t :referencesProvider t :renameProvider t :selectionRangeProvider t :semanticTokensProvider (:full (:delta t) :legend (:tokenModifiers ["declaration" "definition" "deprecated" "deduced" "readonly" "static" "abstract" "virtual" "dependentName" "defaultLibrary" "usedAsMutableReference" "usedAsMutablePointer" "constructorOrDestructor" "userDefined" "functionScope" "classScope" "fileScope" "globalScope"] :tokenTypes ["variable" "variable" "parameter" "function" "method" "function" "property" "variable" "class" "interface" "enum" "enumMember" "type" "type" "unknown" "namespace" "typeParameter" "concept" "type" "macro" "modifier" "operator" "comment"]) :range :json-false) :signatureHelpProvider (:triggerCharacters ["(" ")" "{" "}" "<" ">" ","]) :standardTypeHierarchyProvider t :textDocumentSync (:change 2 :openClose t :save t) :typeDefinitionProvider t :typeHierarchyProvider t :workspaceSymbolProvider t) :serverInfo (:name "clangd" :version "clangd version 16.0.6 linux x86_64-pc-linux-gnu"))) [client-notification] Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :method "initialized" :params #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())) [client-notification] Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :method "textDocument/didOpen" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c" :version 0 :languageId "c" :text "#include \"include/parser.h\"\n#include \"include/ast.h\"\n#include \n\n// Advances the current token stored in the parser\nToken *parser_next(Parser_t *parser) {\n\n TokenListNode *current = parser->curr_node;\n if (!current->next) {\n PRINT_TRACE(\"%s\", \"No tokens left!\");\n }\n\n parser->next_token = current->next->token;\n PRINT_TRACE(\"next_token is: `%s`\",\n tokentype_to_string(parser->next_token->type));\n return parser->next_token;\n}\n\nParser_t *init_parser(Lexer *lex) {\n\n // Allocating parser struct\n Parser_t *parser = calloc(1, sizeof(Parser_t));\n // Parser will store the lexer\n parser->lexer = lex;\n parser->token_list = parser->lexer->tokens;\n parser->curr_node = parser->lexer->tokens->head;\n\n // Assigning first token for our parser\n parser->next_token = parser->curr_node->token;\n\n return parser;\n}\n\n// Will advance the token and return the next one to parse\nToken *parser_eat(Parser_t *parser, TokenType expected) {\n\n // Error if next token is not expected one\n if (parser->next_token->type != expected) {\n char *received = tokentype_to_string(parser->next_token->type);\n char *expect = tokentype_to_string(expected);\n PRINT_ERROR(\"Error! Expected `%s` but received `%s`.\", expect, received);\n return NULL;\n }\n\n parser_next(parser);\n return parser->next_token;\n}\n\nvoid parser_destroy(Parser_t *parser) {\n\n // Free lexer->source\n // Free lexer->token->str\n // Free lexer->tokens (individually)\n // Then free the list struct\n // Free lexer->tokenlist\n // Then finally free the parser\n free(parser);\n}\n\nAST_t *parse_unary(Parser_t *parser) {\n\n AST_t *ast = ast_create(AST_COMPOUND);\n ast->data = (void *)parser->next_token;\n\n if (parser->next_token->type == TOKEN_BANG) {\n\n ast->data_type = TOKEN_BANG;\n return ast;\n\n } else if (parser->next_token->type == TOKEN_MINUS) {\n ast->data_type = TOKEN_MINUS;\n return ast;\n } else\n return NULL;\n}\n\nAST_t *parse_factor(Parser_t *parser) {\n\n AST_t *ast = parse_unary(parser);\n\n if (ast == NULL) {\n }\n}\n\nAST_t *parse_term(Parser_t *parser) { parse_factor(parser); }\n\nAST_t *parse_primary(Parser_t *parser) {\n TokenType ttype = parser->next_token->type;\n\n AST_t *ast = ast_create(AST_PRIMARY);\n ast->data_type = ttype;\n ast->data = ((void *)&(parser->next_token));\n\n if (ttype == TOKEN_LEFTPAREN) {\n /* parse_expression(parser); */\n }\n}\n\nAST_t *parse_expression(Parser_t *parser) {\n AST_t *ast = ast_create(AST_COMPOUND)\n\n if (parser->next_token->type == TOKEN_IDENTIFIER) {}\n}\n\nAST_t *parse_compound(Parser_t *parser) {\n\n AST_t *ast = ast_create(AST_COMPOUND);\n\n if (parser->next_token->type == TOKEN_NUMBER) {\n }\n\n return NULL;\n}\n\n/* AST_t *parse_program(Parser_t *parser) { */\n\n/* AST_t *programAST = ast_create(AST_PROGRAM); */\n/* TokenType tknType = parser->next_token->type; */\n\n/* if (tknType == TOKEN_EOF) { */\n/* return programAST; */\n/* } else if(tknType == TOKEN_CLASS) { */\n/* return parse_class(parser); */\n/* } */\n/* } */\n"))) [client-notification] Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :method "workspace/didChangeConfiguration" :params (:settings #s(hash-table size 1 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()))) [client-request] (id:2) Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :id 2 :method "textDocument/inlayHint" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :range (:start (:line 0 :character 0) :end (:line 125 :character 0)))) [client-request] (id:3) Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :id 3 :method "textDocument/inlayHint" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :range (:start (:line 83 :character 0) :end (:line 84 :character 0)))) [server-request] (id:0) Wed Sep 20 08:28:24 2023: (:id 0 :jsonrpc "2.0" :method "window/workDoneProgress/create" :params (:token "backgroundIndexProgress")) [client-reply] (id:0) Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :id 0 :result nil) [server-notification] Wed Sep 20 08:28:24 2023: (:jsonrpc "2.0" :method "textDocument/publishDiagnostics" :params (:diagnostics [(:code "-Wreturn-type" :message "Non-void function does not return a value" :range (:end (:character 1 :line 82) :start (:character 0 :line 82)) :severity 2 :source "clang") (:code "-Wreturn-type" :message "Non-void function does not return a value" :range (:end (:character 61 :line 84) :start (:character 60 :line 84)) :severity 2 :source "clang") (:code "-Wreturn-type" :message "Non-void function does not return a value" :range (:end (:character 1 :line 96) :start (:character 0 :line 96)) :severity 2 :source "clang") (:code "expected_semi_declaration" :message "Expected ';' at end of declaration (fix available)" :range (:end (:character 8 :line 101) :start (:character 6 :line 101)) :severity 1 :source "clang") (:code "-Wunused-parameter" :message "Unused parameter 'parser'" :range (:end (:character 40 :line 98) :start (:character 34 :line 98)) :severity 2 :source "clang" :tags [1]) (:code "-Wunused-variable" :message "Unused variable 'ast'" :range (:end (:character 12 :line 106) :start (:character 9 :line 106)) :severity 2 :source "clang" :tags [1])] :uri "file:///home/aayush/projects/nicer/src/parser.c" :version 0)) [server-reply] (id:2) Wed Sep 20 08:28:24 2023: (:id 2 :jsonrpc "2.0" :result [(:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 34 :line 14)) (:kind 2 :label "nmemb:" :paddingLeft :json-false :paddingRight t :position (:character 28 :line 21)) (:kind 2 :label "size:" :paddingLeft :json-false :paddingRight t :position (:character 31 :line 21)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 41 :line 38)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 39 :line 39)) (:kind 2 :label "ptr:" :paddingLeft :json-false :paddingRight t :position (:character 7 :line 56)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 26 :line 61)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 26 :line 89)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 26 :line 99)) (:kind 2 :label "type:" :paddingLeft :json-false :paddingRight t :position (:character 26 :line 106))]) [server-reply] (id:3) Wed Sep 20 08:28:24 2023: (:id 3 :jsonrpc "2.0" :result []) [server-notification] Wed Sep 20 08:28:25 2023: (:jsonrpc "2.0" :method "$/progress" :params (:token "backgroundIndexProgress" :value (:kind "begin" :percentage 0 :title "indexing"))) [server-notification] Wed Sep 20 08:28:25 2023: (:jsonrpc "2.0" :method "$/progress" :params (:token "backgroundIndexProgress" :value (:kind "end"))) [client-request] (id:4) Wed Sep 20 08:28:25 2023: (:jsonrpc "2.0" :id 4 :method "textDocument/documentSymbol" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c"))) [server-reply] (id:4) Wed Sep 20 08:28:25 2023: (:id 4 :jsonrpc "2.0" :result [(:detail "Token *(Parser_t *)" :kind 12 :name "parser_next" :range (:end (:character 1 :line 16) :start (:character 0 :line 5)) :selectionRange (:end (:character 18 :line 5) :start (:character 7 :line 5))) (:detail "Parser_t *(Lexer *)" :kind 12 :name "init_parser" :range (:end (:character 1 :line 31) :start (:character 0 :line 18)) :selectionRange (:end (:character 21 :line 18) :start (:character 10 :line 18))) (:detail "Token *(Parser_t *, TokenType)" :kind 12 :name "parser_eat" :range (:end (:character 1 :line 46) :start (:character 0 :line 34)) :selectionRange (:end (:character 17 :line 34) :start (:character 7 :line 34))) (:detail "void (Parser_t *)" :kind 12 :name "parser_destroy" :range (:end (:character 1 :line 57) :start (:character 0 :line 48)) :selectionRange (:end (:character 19 :line 48) :start (:character 5 :line 48))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_unary" :range (:end (:character 1 :line 74) :start (:character 0 :line 59)) :selectionRange (:end (:character 18 :line 59) :start (:character 7 :line 59))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_factor" :range (:end (:character 1 :line 82) :start (:character 0 :line 76)) :selectionRange (:end (:character 19 :line 76) :start (:character 7 :line 76))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_term" :range (:end (:character 61 :line 84) :start (:character 0 :line 84)) :selectionRange (:end (:character 17 :line 84) :start (:character 7 :line 84))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_primary" :range (:end (:character 1 :line 96) :start (:character 0 :line 86)) :selectionRange (:end (:character 20 :line 86) :start (:character 7 :line 86))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_expression" :range (:end (:character 1 :line 102) :start (:character 0 :line 98)) :selectionRange (:end (:character 23 :line 98) :start (:character 7 :line 98))) (:detail "AST_t *(Parser_t *)" :kind 12 :name "parse_compound" :range (:end (:character 1 :line 112) :start (:character 0 :line 104)) :selectionRange (:end (:character 21 :line 104) :start (:character 7 :line 104)))]) [client-request] (id:5) Wed Sep 20 08:28:33 2023: (:jsonrpc "2.0" :id 5 :method "textDocument/hover" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 106 :character 9))) [client-request] (id:6) Wed Sep 20 08:28:33 2023: (:jsonrpc "2.0" :id 6 :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 106 :character 9))) [client-request] (id:7) Wed Sep 20 08:28:33 2023: (:jsonrpc "2.0" :id 7 :method "textDocument/signatureHelp" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 106 :character 9))) [server-reply] (id:5) Wed Sep 20 08:28:33 2023: (:id 5 :jsonrpc "2.0" :result (:contents (:kind "markdown" :value "### variable `ast` \n\n---\nType: `AST_t * (aka struct AST_STRUCT *)` \n\n---\n```cpp\n// In parse_compound\nAST_t *ast = ast_create(AST_COMPOUND)\n```") :range (:end (:character 12 :line 106) :start (:character 9 :line 106)))) [server-reply] (id:6) Wed Sep 20 08:28:34 2023: (:id 6 :jsonrpc "2.0" :result [(:kind 1 :range (:end (:character 12 :line 106) :start (:character 9 :line 106)))]) [server-reply] (id:7) Wed Sep 20 08:28:34 2023: (:id 7 :jsonrpc "2.0" :result (:activeParameter 0 :activeSignature 0 :signatures [])) [client-request] (id:8) Wed Sep 20 08:28:35 2023: (:jsonrpc "2.0" :id 8 :method "textDocument/hover" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 9))) [client-request] (id:9) Wed Sep 20 08:28:35 2023: (:jsonrpc "2.0" :id 9 :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 9))) [client-request] (id:10) Wed Sep 20 08:28:35 2023: (:jsonrpc "2.0" :id 10 :method "textDocument/signatureHelp" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 9))) [server-reply] (id:8) Wed Sep 20 08:28:35 2023: (:id 8 :jsonrpc "2.0" :result nil) [server-reply] (id:9) Wed Sep 20 08:28:35 2023: (:id 9 :jsonrpc "2.0" :result []) [server-reply] (id:10) Wed Sep 20 08:28:35 2023: (:id 10 :jsonrpc "2.0" :result (:activeParameter 0 :activeSignature 0 :signatures [])) [client-request] (id:11) Wed Sep 20 08:28:36 2023: (:jsonrpc "2.0" :id 11 :method "textDocument/hover" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:12) Wed Sep 20 08:28:36 2023: (:jsonrpc "2.0" :id 12 :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:13) Wed Sep 20 08:28:36 2023: (:jsonrpc "2.0" :id 13 :method "textDocument/signatureHelp" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [server-reply] (id:11) Wed Sep 20 08:28:36 2023: (:id 11 :jsonrpc "2.0" :result nil) [server-reply] (id:12) Wed Sep 20 08:28:36 2023: (:id 12 :jsonrpc "2.0" :result []) [server-reply] (id:13) Wed Sep 20 08:28:36 2023: (:id 13 :jsonrpc "2.0" :result (:activeParameter 0 :activeSignature 0 :signatures [])) [client-request] (id:14) Wed Sep 20 08:28:37 2023: (:jsonrpc "2.0" :id 14 :method "textDocument/codeAction" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :range (:start (:line 101 :character 6) :end (:line 101 :character 8)) :context (:diagnostics []))) [server-reply] (id:14) Wed Sep 20 08:28:37 2023: (:id 14 :jsonrpc "2.0" :result []) [client-request] (id:15) Wed Sep 20 08:28:46 2023: (:jsonrpc "2.0" :id 15 :method "textDocument/codeAction" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :range (:start (:line 101 :character 6) :end (:line 101 :character 8)) :context (:diagnostics []))) [server-reply] (id:15) Wed Sep 20 08:28:46 2023: (:id 15 :jsonrpc "2.0" :result []) [client-request] (id:16) Wed Sep 20 08:30:53 2023: (:jsonrpc "2.0" :id 16 :method "textDocument/hover" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:17) Wed Sep 20 08:30:53 2023: (:jsonrpc "2.0" :id 17 :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:18) Wed Sep 20 08:30:53 2023: (:jsonrpc "2.0" :id 18 :method "textDocument/signatureHelp" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [server-reply] (id:16) Wed Sep 20 08:30:53 2023: (:id 16 :jsonrpc "2.0" :result nil) [server-reply] (id:17) Wed Sep 20 08:30:53 2023: (:id 17 :jsonrpc "2.0" :result []) [server-reply] (id:18) Wed Sep 20 08:30:53 2023: (:id 18 :jsonrpc "2.0" :result (:activeParameter 0 :activeSignature 0 :signatures [])) [client-request] (id:19) Wed Sep 20 08:38:43 2023: (:jsonrpc "2.0" :id 19 :method "textDocument/hover" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:20) Wed Sep 20 08:38:43 2023: (:jsonrpc "2.0" :id 20 :method "textDocument/documentHighlight" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [client-request] (id:21) Wed Sep 20 08:38:43 2023: (:jsonrpc "2.0" :id 21 :method "textDocument/signatureHelp" :params (:textDocument (:uri "file:///home/aayush/projects/nicer/src/parser.c") :position (:line 101 :character 7))) [server-reply] (id:19) Wed Sep 20 08:38:43 2023: (:id 19 :jsonrpc "2.0" :result nil) [server-reply] (id:20) Wed Sep 20 08:38:43 2023: (:id 20 :jsonrpc "2.0" :result []) [server-reply] (id:21) Wed Sep 20 08:38:43 2023: (:id 21 :jsonrpc "2.0" :result (:activeParameter 0 :activeSignature 0 :signatures [])) [client-request] (id:22) Wed Sep 20 08:38:50 2023: (:jsonrpc "2.0" :id 22 :method "shutdown" :params nil) [server-reply] (id:22) Wed Sep 20 08:38:50 2023: (:id 22 :jsonrpc "2.0" :result nil) [client-notification] Wed Sep 20 08:38:50 2023: (:jsonrpc "2.0" :method "exit" :params nil) [internal] Wed Sep 20 08:38:50 2023: (:message "Connection state changed" :change "killed\n")----------b---y---e---b---y---e----------
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This works fine for me. To be able to help you, I need to reproduce your case. Many people post "Eglot configuration" and that's not really what's necessary. What's really helpful is a full Emacs configuration under 10 lines, or even no configuration at all. Here's an example of a reproduction recipe for the successful case with no configuration:
Now type:
Now type |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I pushed a fix here: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=76cdf293c480c3825eb99eae0ab863d185cf6570 to address the problem described above. This fix will make it into the upcoming 1.16 Eglot release or you can find it earlier in the GNU devel ELPA (https://elpa.gnu.org/devel/) archive.
I don't know if this will fix your Doom Emacs problem. It might, but I personally don't support Doom Emacs configurations for sheer lack of resources to run experiments there.