enable sourcekit
the lsp comes with the swift toolchain. So we can just enable it :). I wanted to try swift for a long time but did not realise they bothered to build a cross-platform language server for it.
This commit is contained in:
@@ -489,6 +489,7 @@ require'lazy'.setup{ --{{{1
|
|||||||
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
filetypes = { 'haskell', 'lhaskell', 'cabal' },
|
||||||
})
|
})
|
||||||
vim.lsp.enable('hls')
|
vim.lsp.enable('hls')
|
||||||
|
vim.lsp.enable('sourcekit')
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('LspAttach', {
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user