mirror of https://github.com/fredrikekre/.dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
432 B
14 lines
432 B
set runtimepath^=~/.vim runtimepath+=~/.vim/after |
|
let &packpath = &runtimepath |
|
source ~/.vimrc |
|
lua << EOF |
|
require'lspconfig'.julials.setup{ |
|
on_new_config = function(new_config, _) |
|
local julia = vim.fn.expand("~/.julia/environments/nvim-lspconfig/bin/julia") |
|
if require'lspconfig'.util.path.is_file(julia) then |
|
new_config.cmd[1] = julia |
|
end |
|
end |
|
} |
|
EOF |
|
:nmap K :lua vim.lsp.buf.hover() <CR>
|
|
|