Various fixes

This commit is contained in:
Daniel Flanagan 2022-05-23 21:04:16 -05:00
parent a96ae69c89
commit d4f203700b
Signed by untrusted user: lytedev-divvy
GPG Key ID: 6D69CEEE4ABBCD82
7 changed files with 17 additions and 14 deletions

View File

@ -1,5 +1,9 @@
function fish_user_key_bindings
test -f $HOME/.fzf/shell/key-bindings.fish && source $HOME/.fzf/shell/key-bindings.fish
if command -v brew &>/dev/null && test -f (brew --prefix fzf)/shell/key-bindings.fish
source (brew --prefix fzf)/shell/key-bindings.fish
else if test -f $HOME/.fzf/shell/key-bindings.fish
source $HOME/.fzf/shell/key-bindings.fish
end
type -q fzf_key_bindings && fzf_key_bindings
fish_vi_key_bindings insert --no-erase

View File

@ -26,6 +26,7 @@ set --export --universal GOPATH $HOME/.go
set --export --universal GOBIN $GOPATH/bin
set paths_candidates \
/Users/danielflanagan/.asdf/shims \
/opt/homebrew/bin \
/opt/homebrew/sbin \
$DOTFILES_PATH/common/bin \

View File

@ -0,0 +1,3 @@
[[language]]
name = "typescript"
language-server = { command = "deno", args = ["lsp"] }

View File

@ -86,13 +86,6 @@ for server, config in pairs(lsp_configs) do
lsp[server].setup(config)
end
local lsp_installer = require 'nvim-lsp-installer'
lsp_installer.on_server_ready(function(server)
local server_opts = {}
-- if server.name == "elixirls" then
-- server_opts.cmd = { vim.fn.expand'~/.local/share/nvim/lsp_servers/elixir/elixir-ls/language_server.sh' }
-- end
server:setup(server_opts)
end)
require'nvim-lsp-installer'.setup{
automatic_installation = true,
}

View File

@ -170,7 +170,7 @@ packer.startup(function()
require 'nvim-treesitter.configs'.setup {
ensure_installed = "all",
sync_install = false,
ignore_install = {},
ignore_install = { "phpdoc" },
indent = {
enable = true,
},

2
common/pgcli/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
history
log

View File

@ -1,4 +1,4 @@
#!/usr/bin/env fish
fish_add_path /opt/homebrew/sbin
fish_add_path /opt/homebrew/bin
# fish_add_path /opt/homebrew/sbin
# fish_add_path /opt/homebrew/bin