Skip to content

Commit

Permalink
Merge pull request #13 from qwjyh/manjaro
Browse files Browse the repository at this point in the history
merge Manjaro branch
  • Loading branch information
qwjyh committed Oct 17, 2022
2 parents 9a2473d + dc4d3fa commit eef5cfc
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
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")]],
},
},
}

0 comments on commit eef5cfc

Please sign in to comment.