Skip to content

Instantly share code, notes, and snippets.

@unknown321
Created November 11, 2021 20:32
Show Gist options
  • Select an option

  • Save unknown321/da005ea96cd7492483aab6e5b479f3a1 to your computer and use it in GitHub Desktop.

Select an option

Save unknown321/da005ea96cd7492483aab6e5b479f3a1 to your computer and use it in GitHub Desktop.
install https://github.com/prabirshrestha/vim-lsp
add to .vimrc:
```
au User lsp_setup
\ call lsp#register_server({
\ 'name': 'godot',
\ 'tcp': "127.0.0.1:6008",
\ 'allowlist': ['gdscript3', 'gdscript']
\ })
```
create ~/.local/bin/vvim with your $PATH (get by running `echo $PATH`):
```
#!/bin/bash
exec xfce4-terminal -e "bash -c 'PATH=<your_path> vim $@'"
```
change godot settings to:
```
vvim
{file}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment