Compare commits

..

No commits in common. "efcfc51e48481524eaa8f69c3d68bf2b5ae9d36d" and "d0b26a0962f458abf0e6e599ca939f8aff76158d" have entirely different histories.

10 changed files with 95 additions and 60 deletions

View file

@ -1,6 +1,6 @@
#+title: My Emacs Config #+title: My Emacs Config
#+author: William Ball #+author: William Ball
#+email: wball@ballcloud.cc #+email: williampi103@gmail.com
#+property: header-args:emacs-lisp :tangle ./init.el :mkdirp #+property: header-args:emacs-lisp :tangle ./init.el :mkdirp
* Basic Settings * Basic Settings
@ -148,26 +148,24 @@ Enable =use-package= integration
** Theme ** Theme
*** Modus Themes *** Modus Themes
#+begin_src emacs-lisp #+begin_src emacs-lisp
;; (use-package emacs (use-package emacs
;; :ensure nil :ensure nil
;; :config :config
;; (require-theme 'modus-themes) (require-theme 'modus-themes)
;; (setq modus-themes-italic-constructs t (setq modus-themes-italic-constructs t
;; modus-themes-bold-constructs t modus-themes-bold-constructs t
;; modus-themes-links '(no-underline background faint) modus-themes-links '(no-underline background faint)
;; modus-themes-prompts '(bold intense) modus-themes-prompts '(bold intense)
;; modus-themes-mode-line '(borderless accented moody) modus-themes-mode-line '(borderless accented moody)
;; modus-themes-org-blocks 'gray-background modus-themes-org-blocks 'gray-background
;; modus-themes-region '(bg-only no-extend)) modus-themes-region '(bg-only no-extend))
;; (load-theme 'modus-operandi :no-confirm)) (load-theme 'modus-operandi :no-confirm))
#+end_src #+end_src
*** Catpuccin *** Catpuccin
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package catppuccin-theme (use-package catppuccin-theme
:init (setq catppuccin-flavor 'mocha) :init (setq catppuccin-flavor 'mocha)
:config :hook (after-init . (lambda () (load-theme 'catppuccin :no-confirm))))
(load-theme 'catpuccin :no-confirm))
#+end_src
*** Italic Comments *** Italic Comments
#+begin_src emacs-lisp #+begin_src emacs-lisp

View file

@ -52,7 +52,6 @@ set -x GDK_BACKEND wayland
set -x BEMENU_OPTS '--ignorecase --fb "#1e1e2e" --ff "#cdd6f4" --nb "#1e1e2e" --nf "#cdd6f4" --tb "#1e1e2e" --hb "#1e1e2e" --tf "#f5c2e7" --hf "#f9e2af" --af "#cdd6f4" --ab "#1e1e2e" --fn "Iosevka Nerd Font 16" --no-overlap --wrap' set -x BEMENU_OPTS '--ignorecase --fb "#1e1e2e" --ff "#cdd6f4" --nb "#1e1e2e" --nf "#cdd6f4" --tb "#1e1e2e" --hb "#1e1e2e" --tf "#f5c2e7" --hf "#f9e2af" --af "#cdd6f4" --ab "#1e1e2e" --fn "Iosevka Nerd Font 16" --no-overlap --wrap'
set -x LESSHISTFILE - set -x LESSHISTFILE -
set -x ASPELL_CONF "per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_DATA_HOME/aspell/en.pws; repl $XDG_DATA_HOME/aspell/en.prepl"
set -x INPUTRC $HOME/.config/readline/inputrc set -x INPUTRC $HOME/.config/readline/inputrc
set -x HISTFILE $XDG_CACHE_HOME/bash/history set -x HISTFILE $XDG_CACHE_HOME/bash/history
set -x XDG_DATA_HOME $HOME/.local/share set -x XDG_DATA_HOME $HOME/.local/share
@ -70,4 +69,3 @@ set -x AGDA_DIR $HOME/.config/agda
set -x PACK_DIR $HOME/.local/share/pack set -x PACK_DIR $HOME/.local/share/pack
set -x MIZFILES $HOME/.local/share/mizar set -x MIZFILES $HOME/.local/share/mizar
set -x RLWRAP_HOME $XDG_DATA_HOME/rlwrap set -x RLWRAP_HOME $XDG_DATA_HOME/rlwrap
set -x WOLFRAM_USERBASE $XDG_CONFIG_HOME/Wolfram

View file

@ -1,7 +1,7 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dcolor\x3dbg\x2b\x3a\x23313244\x2cbg\x3a\x231e1e2e\x2cspinner\x3a\x23f5e0dc\x2chl\x3a\x23f38ba8\x20\x2d\x2dcolor\x3dfg\x3a\x23cdd6f4\x2cheader\x3a\x23f38ba8\x2cinfo\x3a\x23cba6f7\x2cpointer\x3a\x23f5e0dc\x20\x2d\x2dcolor\x3dmarker\x3a\x23f5e0dc\x2cfg\x2b\x3a\x23cdd6f4\x2cprompt\x3a\x23cba6f7\x2chl\x2b\x3a\x23f38ba8 SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dcolor\x3dbg\x2b\x3a\x23313244\x2cbg\x3a\x231e1e2e\x2cspinner\x3a\x23f5e0dc\x2chl\x3a\x23f38ba8\x20\x2d\x2dcolor\x3dfg\x3a\x23cdd6f4\x2cheader\x3a\x23f38ba8\x2cinfo\x3a\x23cba6f7\x2cpointer\x3a\x23f5e0dc\x20\x2d\x2dcolor\x3dmarker\x3a\x23f5e0dc\x2cfg\x2b\x3a\x23cdd6f4\x2cprompt\x3a\x23cba6f7\x2chl\x2b\x3a\x23f38ba8
SETUVAR --export GPG_TTY:not\x20a\x20tty SETUVAR --export GPG_TTY:/dev/pts/0
SETUVAR --export SSH_AGENT_PID:786479 SETUVAR --export SSH_AGENT_PID:786479
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXkRTHwG/agent\x2e786475 SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXkRTHwG/agent\x2e786475
SETUVAR ZO_CMD:zo SETUVAR ZO_CMD:zo

View file

@ -15,8 +15,8 @@
[gpg] [gpg]
format = ssh format = ssh
[gpg "ssh"] # [gpg "ssh"]
program = "/opt/1Password/op-ssh-sign" # program = "/opt/1Password/op-ssh-sign"
[commit] [commit]
gpgSign = true gpgSign = true

View file

@ -0,0 +1,25 @@
return {
{
'whonore/Coqtail',
event = { 'BufReadPre *.v', 'BufNewFile *.v' },
init = function()
vim.g.loaded_coqtail = 1
vim.g['coqtail#supported'] = 0
end
},
{
'tomtomjhj/vscoq.nvim',
event = { 'BufReadPre *.v', 'BufNewFile *.v'},
filetypes = 'coq',
opts = true,
dependencies = { 'whonore/Coqtail', 'neovim/nvim-lspconfig' },
}
-- {
-- 'tomtomjhj/coq-lsp.nvim',
-- event = { 'BufReadPre *.v', 'BufNewFile *.v' },
-- opts = {
-- autostart = true,
-- },
-- dependencies = { 'whonore/Coqtail' }
-- }
}

View file

@ -0,0 +1,5 @@
return {
{
'andy-morris/mizar.vim',
}
}

View file

@ -0,0 +1,8 @@
return {
{
'chomosuke/typst-preview.nvim',
ft = typst,
version = '1.*',
opts = {},
},
}

View file

@ -1,28 +1,27 @@
return {} return {
-- return { {
-- { "jinzhongjia/zig-lamp",
-- "jinzhongjia/zig-lamp", event = "VeryLazy",
-- event = "VeryLazy", build = ":ZigLamp build sync",
-- build = ":ZigLamp build sync", dependencies = {
-- dependencies = { "neovim/nvim-lspconfig",
-- "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim",
-- "nvim-lua/plenary.nvim", },
-- }, init = function()
-- init = function() -- Timeout in milliseconds for automatic ZLS installation
-- -- Timeout in milliseconds for automatic ZLS installation -- Set to nil to disable auto-install
-- -- Set to nil to disable auto-install vim.g.zig_lamp_zls_auto_install = nil
-- vim.g.zig_lamp_zls_auto_install = nil
-- -- Fallback to system ZLS if local version not found
-- -- Fallback to system ZLS if local version not found -- Set to any non-negative value to enable
-- -- Set to any non-negative value to enable vim.g.zig_lamp_fall_back_sys_zls = nil
-- vim.g.zig_lamp_fall_back_sys_zls = nil
-- -- LSP configuration options passed to lspconfig
-- -- LSP configuration options passed to lspconfig vim.g.zig_lamp_zls_lsp_opt = {}
-- vim.g.zig_lamp_zls_lsp_opt = {}
-- -- UI customization
-- -- UI customization vim.g.zig_lamp_pkg_help_fg = "#CF5C00"
-- vim.g.zig_lamp_pkg_help_fg = "#CF5C00" vim.g.zig_lamp_zig_fetch_timeout = 5000
-- vim.g.zig_lamp_zig_fetch_timeout = 5000 end,
-- end, }
-- } }
-- }

View file

@ -3,15 +3,14 @@ return {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
config = function() config = function()
local capabilities = require('cmp_nvim_lsp').default_capabilities() local capabilities = require('cmp_nvim_lsp').default_capabilities()
local lspconfig = require('lspconfig')
local wk = require('which-key') local wk = require('which-key')
vim.lsp.enable('ocamllsp') lspconfig.ocamllsp.setup({
vim.lsp.config('ocamllsp', {
capabilities = capabilities capabilities = capabilities
}) })
vim.lsp.enable('tinymist') lspconfig.tinymist.setup({
vim.lsp.config('tinymist', {
settings = { settings = {
formatterMode = "typstyle", formatterMode = "typstyle",
exportPdf = "onType", exportPdf = "onType",
@ -19,17 +18,15 @@ return {
} }
}) })
vim.lsp.enable('millet') lspconfig.millet.setup({
vim.lsp.config('millet', {
root_dir = function(fname) root_dir = function(fname)
local util = vim.lsp.config.util local util = require("lspconfig.util")
return util.root_pattern(".cm", ".mlb")(fname) return util.root_pattern(".cm", ".mlb")(fname)
or util.path.dirname(fname) or util.path.dirname(fname)
end end
}) })
vim.lsp.enable('clangd') lspconfig.clangd.setup({
vim.lsp.config('clangd', {
capabilities = capabilities capabilities = capabilities
}) })

View file

@ -1,13 +1,18 @@
Host gh
User git
Hostname github.com
IdentityFile ~/.ssh/id_rsa-github
Host fg Host fg
User git User git
Hostname forgejo.ballcloud.cc Hostname forgejo.ballcloud.cc
IdentityFile ~/.ssh/perga IdentityFile ~/.ssh/id_ed25519
Port 222 Port 222
Host server Host server
User wball User wball
Hostname ballcloud.cc Hostname ballcloud.cc
IdentityFile ~/.ssh/perga IdentityFile ~/.ssh/id_ed25519
Host * Host *
IdentityAgent ~/.1password/agent.sock IdentityAgent ~/.1password/agent.sock