macos custom tweaks
This commit is contained in:
parent
232b3546e1
commit
6891dbfaf2
3 changed files with 24 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
|
.DS_Store
|
||||||
configuration.nix
|
configuration.nix
|
||||||
|
|
|
@ -91,3 +91,5 @@ background_opacity 1
|
||||||
#background_tint 0.99
|
#background_tint 0.99
|
||||||
modify_font cell_height 130%
|
modify_font cell_height 130%
|
||||||
startup_session ~/.config/kitty/session.conf
|
startup_session ~/.config/kitty/session.conf
|
||||||
|
hide_window_decorations titlebar-only
|
||||||
|
|
||||||
|
|
21
dotfiles/nvim/lua/plugins/markdownpreview.lua
Normal file
21
dotfiles/nvim/lua/plugins/markdownpreview.lua
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
-- Install markdown preview, use npx if available.
|
||||||
|
"iamcco/markdown-preview.nvim",
|
||||||
|
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
||||||
|
ft = { "markdown" },
|
||||||
|
build = function(plugin)
|
||||||
|
if vim.fn.executable("npx") then
|
||||||
|
vim.cmd("!cd " .. plugin.dir .. " && cd app && npx --yes yarn install")
|
||||||
|
else
|
||||||
|
vim.cmd([[Lazy load markdown-preview.nvim]])
|
||||||
|
vim.fn["mkdp#util#install"]()
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
init = function()
|
||||||
|
if vim.fn.executable("npx") then
|
||||||
|
vim.g.mkdp_filetypes = { "markdown" }
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue