Cleanup
This commit is contained in:
parent
3ffa53af7a
commit
45a9afa230
3 changed files with 17 additions and 14 deletions
11
home.nix
11
home.nix
|
@ -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;
|
||||
|
|
|
@ -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'}
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue