mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
add goenv
This commit is contained in:
@ -54,7 +54,7 @@ update_ms = 500
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "cpu direct"
|
||||
proc_sorting = "memory"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
|
@ -2,6 +2,7 @@
|
||||
local M = {}
|
||||
|
||||
M.ui = {
|
||||
lsp_semantic_tokens = false,
|
||||
transparency = false,
|
||||
theme = "catppuccin",
|
||||
statusline = {
|
||||
|
@ -55,7 +55,7 @@ local opts = {
|
||||
extra_args = { "--dialect", "postgres" }, -- change to your dialect
|
||||
},
|
||||
},
|
||||
on_attach = function(client, bufnr)
|
||||
--[[ on_attach = function(client, bufnr)
|
||||
if client.supports_method "textDocument/formatting" then
|
||||
vim.api.nvim_clear_autocmds {
|
||||
group = augroup,
|
||||
@ -69,7 +69,7 @@ local opts = {
|
||||
end,
|
||||
})
|
||||
end
|
||||
end,
|
||||
end, ]]
|
||||
}
|
||||
|
||||
return opts
|
||||
|
@ -36,6 +36,14 @@ eval "$(pyenv init -)"
|
||||
[ -s "~/.bun/_bun" ] && source "~/.bun/_bun"
|
||||
# disbale powerlevel10k configuration
|
||||
POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
|
||||
# golang
|
||||
export GOROOT=$HOME/go
|
||||
export PATH=$PATH:$GOROOT/bin
|
||||
export GOENV_ROOT="$HOME/.goenv"
|
||||
export PATH="$GOENV_ROOT/bin:$PATH"
|
||||
eval "$(goenv init -)"
|
||||
export PATH="$GOROOT/bin:$PATH"
|
||||
export PATH="$PATH:$GOPATH/bin"
|
||||
|
||||
# linux
|
||||
if [[ $OSTYPE == "linux"* ]]; then
|
||||
|
Reference in New Issue
Block a user