Created
November 11, 2021 20:32
-
-
Save unknown321/da005ea96cd7492483aab6e5b479f3a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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