diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-04-18 12:00:19 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-04-18 12:00:19 +0200 |
| commit | 846d44fde8b6997403066b9aa9b28f9b4a4fbd49 (patch) | |
| tree | 576458484a50597a07c41eb86635b93c444434d4 | |
| parent | 86b0bb0bacf01ad11c4149c58478a00c6843515f (diff) | |
| download | dotfiles-846d44fde8b6997403066b9aa9b28f9b4a4fbd49.tar.gz dotfiles-846d44fde8b6997403066b9aa9b28f9b4a4fbd49.zip | |
add go for nvim development
| -rw-r--r-- | bash/.bashrc | 1 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/appearance.lua | 2 | ||||
| -rw-r--r-- | nvim/.config/nvim/lua/plugins/lspconfig.lua | 2 | ||||
| -rwxr-xr-x | scripts/lsp.sh | 2 | ||||
| -rwxr-xr-x | starship/.config/starship.toml | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index f6e0cdd..7ab0571 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,5 +1,6 @@ # Export own script path export PATH=$HOME/.dotfiles/bin/:/usr/local/bin/:$PATH +export GOPATH=$HOME/.go # Aliases alias ls='ls --color=auto' diff --git a/nvim/.config/nvim/lua/plugins/appearance.lua b/nvim/.config/nvim/lua/plugins/appearance.lua index ae7959d..676d04b 100644 --- a/nvim/.config/nvim/lua/plugins/appearance.lua +++ b/nvim/.config/nvim/lua/plugins/appearance.lua @@ -5,7 +5,7 @@ return { build = ":TSUpdate", config = function () require("nvim-treesitter.configs").setup({ - ensure_installed = { "c", "lua", "vim", "rust", "toml", "latex" }, + ensure_installed = { "c", "lua", "vim", "rust", "toml", "latex", "html", "go"}, sync_install = false, highlight = { enable = true }, indent = { enable = true }, diff --git a/nvim/.config/nvim/lua/plugins/lspconfig.lua b/nvim/.config/nvim/lua/plugins/lspconfig.lua index 65ddc1d..18108a5 100644 --- a/nvim/.config/nvim/lua/plugins/lspconfig.lua +++ b/nvim/.config/nvim/lua/plugins/lspconfig.lua @@ -45,7 +45,7 @@ return { capabilities = require('cmp_nvim_lsp').default_capabilities(), } - require'lspconfig'.gdscript.setup{ + require'lspconfig'.gopls.setup{ capabilities = require('cmp_nvim_lsp').default_capabilities(), } diff --git a/scripts/lsp.sh b/scripts/lsp.sh index f5ff88b..562b22a 100755 --- a/scripts/lsp.sh +++ b/scripts/lsp.sh @@ -1,4 +1,4 @@ #!/usr/bin/bash -sudo pacman -S lua-language-server clang rust-analyzer texlab bash-language-server +sudo pacman -S lua-language-server clang rust-analyzer texlab bash-language-server gopls diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 3c40154..9f00399 100755 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -53,7 +53,7 @@ style = "bg:#212736" format = '[ $symbol ($version) ]($style)' [golang] -symbol = "ﳑ" +symbol = "" style = "bg:#212736" format = '[[ $symbol ($version) ](fg:#a7c080 bg:#212736)]($style)' |