mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
Added swift language server
This commit is contained in:
@@ -50,7 +50,7 @@ capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
|||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
"gopls", "bashls", "jedi_language_server", "dockerls", "terraformls",
|
"gopls", "bashls", "jedi_language_server", "dockerls", "terraformls",
|
||||||
"tsserver", "texlab", "yamlls", "jsonls"
|
"tsserver", "texlab", "yamlls", "jsonls", "clangd", "sourcekit"
|
||||||
}
|
}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
@@ -176,6 +176,8 @@ require"lspconfig".sumneko_lua.setup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- alternative to formatter but yamlfix is not working and I need this for respecting yamllint config
|
-- alternative to formatter but yamlfix is not working and I need this for respecting yamllint config
|
||||||
-- but yamlfix is messing up ansible files ... 😠
|
-- but yamlfix is messing up ansible files ... 😠
|
||||||
-- require('lspconfig')['efm'].setup{
|
-- require('lspconfig')['efm'].setup{
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ export SHELL="$(which zsh)"
|
|||||||
# Allow useful scripts in ~/.bin to be in the search path.
|
# Allow useful scripts in ~/.bin to be in the search path.
|
||||||
export PATH=~/.bin:$PATH
|
export PATH=~/.bin:$PATH
|
||||||
|
|
||||||
|
# Allow git to work on mounted volumes
|
||||||
|
export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
|
||||||
|
|
||||||
# Add homebrew to the path
|
# Add homebrew to the path
|
||||||
if [ -d /opt/homebrew ]; then
|
if [ -d /opt/homebrew ]; then
|
||||||
export PATH=/opt/homebrew/bin:$PATH
|
export PATH=/opt/homebrew/bin:$PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user