WalterProof / vim-ligo

ligo vim plugin
0 stars 0 forks source link

ligo-squirrel question #1

Open dongalor opened 2 years ago

dongalor commented 2 years ago

:CocConfig

Then adding to coc-settings.json provided example:

{
  "typescript.preferences.importModuleSpecifier": "relative",
  "coc.preferences.formatOnSaveFiletypes": ["*"],
  "ligo": {
    "command": "~/.bin/ligo-squirrel",
    "filetypes": ["ligo", "mligo", "religo"]
  }
}

Is this correct?

WalterProof commented 2 years ago

Hi! Sorry I'm not sure it's still correct, I'm mostly using LunarVim now with native lsp: https://github.com/der-alter/dotfiles/blob/master/lvim/.config/lvim/lua/user/lsp-config/ligolang.lua And I copy/pasted the ftdetect and syntax files from ligolang gitlab https://github.com/der-alter/dotfiles/tree/master/lvim/.config/lvim/pack

LunarVim itself is using https://github.com/neovim/nvim-lspconfig and https://github.com/williamboman/nvim-lsp-installer It should be possible to add ligolang to these repos