LoginSignup
0
0

More than 1 year has passed since last update.

SixtyFPS用のneovim設定を整える

Posted at

はじめに

SixtyFPSを少しだけ触り始めたのでnvim設定を整えておきます。

環境等

Rust 1.56.1 stable
MacOSX 11.6 (Intel Mac)
SixtyFPS 0.1.5
neovim 0.6.0

sixtyfpsのvim拡張

sixtyfps-vimをインストールする。

init.vim
call plug#begin('~/.config/nvim/plugged')
Plug 'RustemB/sixtyfps-vim'
call plug#end()

LSP

sixtyfps-lspをインストールして coc-settings.json に設定を追加するだけ。

$ cargo install sixtyfps-lsp
coc-settings.json
{
  "thisiscomment": "以下を追加",
  "languageserver": {
    "sixtyfps": {
      "command": "sixtyfps-lsp",
      "filetypes": ["sixtyfps"]
    }
  }
}

結果

before:
sixtyfps-neovim-settings-before.png

after:
sixtyfps-neovim-settings.png

いい感じにシンタックスハイライトと補完効くようになりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0