Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Server capabilities not updating using LSP configuration

オープン
#679 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
neovim, r

調査の方向性

README の LSP 設定手順と workspace/didChangeConfiguration 通知の処理から始め、更新されるカスタムの log_file 設定と capability 設定を比較してください。リンクされた debug log を使って初期化と設定変更を追跡し、.Rprofile を必要とせずに Neovim クライアントを通じて server_capabilities の値が更新されれば、動作は完了したものとみなしてください。

索引モデルが issue の本文から書いたものです。

説明

As described in the README, I'm trying to update the server's capabilities using the LSP configuration in my client. That is, as far as I understand, a table sent to the server via a workspace/didChangeConfiguration notification after initialization:

r = {
  lsp = {
    server_capabilities = {
      completionProvider = false,
      completionItemResolve = false,
    },
    -- other settings
  },
},

The capabilities just won't update, while other settings, for example setting a custom log_file, are correctly applied. Setting the capabilities in .Rprofile also works as expected, but this is not the preferred way for me.

I'm using the native LSP client in Neovim 0.10.2 with the latest R languageserver release v0.3.16. Even though I don't see anything related to the capabilities, here is a debug log of starting and stopping the server once on one file.

主要言語
R
スター
675
フォーク
118
平均マージ
1日 11時間
マージ済み PR(30日)
11

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

REditorSupport/languageserver のほかの issue

REditorSupport/languageserver の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。