neovim update
This commit is contained in:
10
.config/nvim/fnl/settings/lsp/hls.fnl
Normal file
10
.config/nvim/fnl/settings/lsp/hls.fnl
Normal file
@@ -0,0 +1,10 @@
|
||||
(local M {})
|
||||
|
||||
(fn M.setup [opts]
|
||||
(vim.lsp.config :hls
|
||||
{:on_attach opts.on_attach
|
||||
:capabilities opts.capabilities
|
||||
:flags opts.flags
|
||||
:cmd [:/home/rhiobet/.cabal/bin/haskell-language-server "--lsp"]}))
|
||||
|
||||
M
|
||||
@@ -73,7 +73,7 @@
|
||||
nil)
|
||||
|
||||
(fn M.setup [opts]
|
||||
((. (require :lspconfig) :ltex :setup)
|
||||
(vim.lsp.config :ltex
|
||||
{:on_attach (fn [client] (opts.on_attach client)
|
||||
(post_attach)
|
||||
nil)
|
||||
|
||||
16
.config/nvim/fnl/settings/lsp/ts_ls.fnl
Normal file
16
.config/nvim/fnl/settings/lsp/ts_ls.fnl
Normal file
@@ -0,0 +1,16 @@
|
||||
(local M {})
|
||||
|
||||
(local vue_language_server_path (.. (vim.fn.expand :$MASON/packages) :/vue-language-server "/node_modules/@vue/language-server"))
|
||||
|
||||
(fn M.setup [opts]
|
||||
(vim.lsp.config :ts_ls
|
||||
{:on_attach opts.on_attach
|
||||
:capabilities opts.capabilities
|
||||
:flags opts.flags
|
||||
:init_options {:plugins [{:name "@vue/typescript-plugin"
|
||||
:location vue_language_server_path
|
||||
:languages [:vue]
|
||||
:configNamespace :typescript}]}
|
||||
:filetypes [:typescript :javascript :javascriptreact :typescriptreact :vue]}))
|
||||
|
||||
M
|
||||
10
.config/nvim/fnl/settings/lsp/vue_ls.fnl
Normal file
10
.config/nvim/fnl/settings/lsp/vue_ls.fnl
Normal file
@@ -0,0 +1,10 @@
|
||||
(local M {})
|
||||
|
||||
(fn M.setup [opts]
|
||||
(vim.lsp.config :vue_ls
|
||||
{:on_attach opts.on_attach
|
||||
:capabilities opts.capabilities
|
||||
:flags opts.flags
|
||||
:filetypes [:vue]}))
|
||||
|
||||
M
|
||||
Reference in New Issue
Block a user