Compare commits
2 Commits
2e93b296b7
...
cc4efb6da4
| Author | SHA1 | Date | |
|---|---|---|---|
| cc4efb6da4 | |||
| 0e207028f4 |
5
config/obsidian/css_snippets/center_image.css
Normal file
5
config/obsidian/css_snippets/center_image.css
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
img[alt*="center"] {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
@ -17,14 +17,17 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
file = {
|
file = {
|
||||||
# Old collection of macros and environments I once used, but not anymore...
|
# Collection of macros and environments I once used, but not anymore...
|
||||||
# "texmf/tex/latex/custom/christex.sty".source = ../../../config/latex/christex.sty;
|
# "texmf/tex/latex/custom/christex.sty".source = ../../../config/latex/christex.sty;
|
||||||
# "Notes/Obsidian/Chriphost/christex.sty".source = ../../../config/latex/christex.sty; # For obsidian notes
|
"Notes/Obsidian/Chriphost/christex.sty".source = ../../../config/latex/christex.sty; # For old obsidian notes
|
||||||
|
|
||||||
".indentconfig.yaml".source = ../../../config/latex/.indentconfig.yaml;
|
".indentconfig.yaml".source = ../../../config/latex/.indentconfig.yaml;
|
||||||
".indentsettings.yaml".source = ../../../config/latex/.indentsettings.yaml;
|
".indentsettings.yaml".source = ../../../config/latex/.indentsettings.yaml;
|
||||||
|
|
||||||
|
# TODO: These don't belong into a latex module
|
||||||
"Notes/Obsidian/Chriphost/latex_snippets.json".source = ../../../config/obsidian/latex_snippets.json; # TODO: Symlink
|
"Notes/Obsidian/Chriphost/latex_snippets.json".source = ../../../config/obsidian/latex_snippets.json; # TODO: Symlink
|
||||||
"Notes/Obsidian/Chriphost/.obsidian/snippets/latex_preview.css".source = ../../../config/obsidian/css_snippets/latex_preview.css;
|
"Notes/Obsidian/Chriphost/.obsidian/snippets/latex_preview.css".source = ../../../config/obsidian/css_snippets/latex_preview.css;
|
||||||
|
"Notes/Obsidian/Chriphost/.obsidian/snippets/center_image.css".source = ../../../config/obsidian/css_snippets/center_image.css;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -436,14 +436,20 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
fuzzy = {
|
fuzzy = {
|
||||||
use_typo_resistance = true;
|
|
||||||
use_frecency = true;
|
use_frecency = true;
|
||||||
use_proximity = true;
|
use_proximity = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
default = ["lsp" "path" "snippets"]; # No "buffer"
|
default = ["lsp" "path" "snippets"]; # No "buffer"
|
||||||
cmdline.__raw = ''{}''; # Disable cmdline completion (done by noice)
|
};
|
||||||
|
|
||||||
|
cmdline = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
term = {
|
||||||
|
enabled = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
appearance = {
|
appearance = {
|
||||||
@ -1860,6 +1866,18 @@ in {
|
|||||||
config = ''
|
config = ''
|
||||||
function(_, opts)
|
function(_, opts)
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
|
||||||
|
-- GLSL filetypes
|
||||||
|
vim.filetype.add {
|
||||||
|
extension = {
|
||||||
|
vert = "vert",
|
||||||
|
frag = "frag",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Tell treesitter that those filetypes are GLSL
|
||||||
|
vim.treesitter.language.register("glsl", "vert")
|
||||||
|
vim.treesitter.language.register("glsl", "frag")
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
opts = {
|
opts = {
|
||||||
|
|||||||
Reference in New Issue
Block a user