Merge pull request 'Cleanup' (#15) from cleanup-01042023 into main

Reviewed-on: https://git.softinio.com/softinio/nix-config/pulls/15
This commit is contained in:
Salar Rahmanian 2023-01-05 02:15:42 +00:00
commit ebcc413c4f
3 changed files with 17 additions and 14 deletions

View file

@ -71,6 +71,7 @@
pandoc
patchelf
pijul
prettyping
rclone
readline
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/Library/Application Support/Coursier/bin" $PATH
set -xg JAVA_HOME /Users/salar/.nix-profile
set -xg JDTLS_CONFIG /Users/salar/.config/jdt-language-server/config_mac
@ -297,6 +300,14 @@
end
'';
# pijul config
xdg.configFile."pijul/config.toml".text = lib.mkAfter ''
[author]
name = "softinio"
full_name = "Salar Rahmanian"
email = "code@softinio.com"
'';
# Neovim Configuration
xdg.configFile."nvim/lua/salargalaxyline.lua".source = programs/neovim/settings/salargalaxyline.lua;
xdg.configFile."nvim/init.lua".source = programs/neovim/init.lua;

View file

@ -179,7 +179,7 @@ _G.load_config = function()
require('texlabconfig').setup {
cache_activate = true,
cache_filetypes = { 'tex', 'bib' },
reverse_search_edit_cmd = 'split',
reverse_search_edit_cmd = vim.cmd.edit,
settings = {
texlab = {
build = {
@ -519,7 +519,11 @@ _G.load_config = function()
Lua = {
completion = {
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 },
},
}
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] = {
BufferType = {