This commit is contained in:
Salar Rahmanian 2023-01-04 18:12:50 -08:00
parent 3ffa53af7a
commit 45a9afa230
3 changed files with 17 additions and 14 deletions

View file

@ -71,6 +71,7 @@
pandoc pandoc
patchelf patchelf
pijul pijul
prettyping
rclone rclone
readline readline
ripgrep ripgrep
@ -234,6 +235,8 @@
set -xg PATH /Users/salar/.luarocks/bin:/nix/store/95wpywsjf5iiw77f6n9rw347lk1sly15-luarocks-3.2.1/bin:/Users/salar/bin:/Users/salar/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/nix/store/3qp71mhrpxxg080yc82k51nx7b5hkajr-kitty-0.21.2/Applications/kitty.app/Contents/MacOS $PATH set -xg PATH /Users/salar/.luarocks/bin:/nix/store/95wpywsjf5iiw77f6n9rw347lk1sly15-luarocks-3.2.1/bin:/Users/salar/bin:/Users/salar/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/nix/store/3qp71mhrpxxg080yc82k51nx7b5hkajr-kitty-0.21.2/Applications/kitty.app/Contents/MacOS $PATH
set -xg PATH "/Users/salar/Library/Application Support/Coursier/bin" $PATH
set -xg JAVA_HOME /Users/salar/.nix-profile set -xg JAVA_HOME /Users/salar/.nix-profile
set -xg JDTLS_CONFIG /Users/salar/.config/jdt-language-server/config_mac set -xg JDTLS_CONFIG /Users/salar/.config/jdt-language-server/config_mac
@ -297,6 +300,14 @@
end end
''; '';
# pijul config
xdg.configFile."pijul/config.toml".text = lib.mkAfter ''
[author]
name = "softinio"
full_name = "Salar Rahmanian"
email = "code@softinio.com"
'';
# Neovim Configuration # Neovim Configuration
xdg.configFile."nvim/lua/salargalaxyline.lua".source = programs/neovim/settings/salargalaxyline.lua; xdg.configFile."nvim/lua/salargalaxyline.lua".source = programs/neovim/settings/salargalaxyline.lua;
xdg.configFile."nvim/init.lua".source = programs/neovim/init.lua; xdg.configFile."nvim/init.lua".source = programs/neovim/init.lua;

View file

@ -179,7 +179,7 @@ _G.load_config = function()
require('texlabconfig').setup { require('texlabconfig').setup {
cache_activate = true, cache_activate = true,
cache_filetypes = { 'tex', 'bib' }, cache_filetypes = { 'tex', 'bib' },
reverse_search_edit_cmd = 'split', reverse_search_edit_cmd = vim.cmd.edit,
settings = { settings = {
texlab = { texlab = {
build = { build = {
@ -519,7 +519,11 @@ _G.load_config = function()
Lua = { Lua = {
completion = { completion = {
callSnippet = "Replace" callSnippet = "Replace"
} },
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = {'vim'}
},
} }
} }
}) })

View file

@ -178,18 +178,6 @@ gls.right[4] = {
highlight = { colors.yellow, colors.purple }, highlight = { colors.yellow, colors.purple },
}, },
} }
gls.right[5] = {
BatteryNvim = {
provider = function()
local status = require 'battery'.get_status_line()
local formatted = string.format(status)
return formatted
end,
separator = '',
separator_highlight = { colors.bg, colors.purple },
highlight = { colors.grey, colors.purple },
},
}
gls.short_line_left[1] = { gls.short_line_left[1] = {
BufferType = { BufferType = {