commit
eef5cfc7a1
4 changed files with 32 additions and 2 deletions
|
@ -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
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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")]],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue