Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge Manjaro branch #13

Merged
merged 5 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ ln -sf $(pwd)/dotfiles/fish/config.fish ~/.config/fish/config.fish
ln -sf $(pwd)/dotfiles/starship/starship.toml ~/.config/starship.toml
ln -sf $(pwd)/dotfiles/tmux.conf ~/.tmux.conf


ln -sf $(pwd)/dotfiles/nvim/init.lua ~/.config/nvim/init.lua
ln -sf $(pwd)/dotfiles/neovim/init.lua ~/.config/nvim/init.lua
ln -sf $(pwd)/dotfiles/neovim/lua/plugins.lua ~/.config/nvim/lua/plugins.lua
6 changes: 6 additions & 0 deletions dotfiles/fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,9 @@ function save_myhistory --on-event fish_prompt -d "Save custom shell log to $my_
>> $my_fish_history
end


# julia
# to solve Graphic Card driver problem
export LD_PRELOAD=/usr/lib64/libstdc++.so.6


4 changes: 4 additions & 0 deletions dotfiles/neovim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ cmp.setup({
-- },
-- })

-- satysfi language server
require('lspconfig')['satysfi-ls'].setup{
autostart = true
}

-----------------------------------------------------------
-- Ctrl + P to invoke fzf file search
Expand Down
20 changes: 20 additions & 0 deletions dotfiles/neovim/lua/lspconfig/server_configuration/satysfi-ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://zenn.dev/monaqa/articles/2021-12-10-satysfi-language-server
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'satysfi-language-server' },
filetypes = { 'satysfi' },
root_dir = util.root_pattern('.git'),
single_file_support = true,
},
docs = {
description = [[
https://github.com/monaqa/satysfi-language-server
Language server for SATySFi.
]],
default_config = {
root_dir = [[root_pattern(".git")]],
},
},
}