Merge pull request #13 from qwjyh/manjaro

merge Manjaro branch
This commit is contained in:
qwjyh 2022-10-17 19:19:03 +09:00 committed by GitHub
commit eef5cfc7a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 2 deletions

View file

@ -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/starship/starship.toml ~/.config/starship.toml
ln -sf $(pwd)/dotfiles/tmux.conf ~/.tmux.conf ln -sf $(pwd)/dotfiles/tmux.conf ~/.tmux.conf
ln -sf $(pwd)/dotfiles/neovim/init.lua ~/.config/nvim/init.lua
ln -sf $(pwd)/dotfiles/nvim/init.lua ~/.config/nvim/init.lua ln -sf $(pwd)/dotfiles/neovim/lua/plugins.lua ~/.config/nvim/lua/plugins.lua

View file

@ -50,3 +50,9 @@ function save_myhistory --on-event fish_prompt -d "Save custom shell log to $my_
>> $my_fish_history >> $my_fish_history
end end
# julia
# to solve Graphic Card driver problem
export LD_PRELOAD=/usr/lib64/libstdc++.so.6

View file

@ -134,6 +134,10 @@ cmp.setup({
-- }, -- },
-- }) -- })
-- satysfi language server
require('lspconfig')['satysfi-ls'].setup{
autostart = true
}
----------------------------------------------------------- -----------------------------------------------------------
-- Ctrl + P to invoke fzf file search -- Ctrl + P to invoke fzf file search

View file

@ -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")]],
},
},
}