Fix ~ folders, wezterm config

This commit is contained in:
2024-08-19 17:09:32 +02:00
parent e01f21e55a
commit 2bb01a3bf5
2 changed files with 15 additions and 4 deletions

View File

@@ -185,8 +185,7 @@ vim.opt.rtp:prepend(lazypath)
require("lazy").setup(pluginTable)
if vim.fn.has('persistent_undo') then
local target_path = '~/.nvimundodir'
local target_path = '/home/vectorkappa/.nvimundodir'
if not vim.fn.isdirectory(target_path) then
vim.fn.mkpath(target_path, { mode = 0700 }) -- Use mkpath for parent creation
end
@@ -321,9 +320,8 @@ lsp.rust_analyzer.setup(coq.lsp_ensure_capabilities({
}
}))
vim.g.catppuccin_flavour = "macchiato"
require("dapui").setup()
require("catppuccin").setup()
require("catppuccin").setup({flavour = "macchiato"})
require('colorizer').setup()
require("circles").setup()
vim.cmd.colorscheme "catppuccin"

View File

@@ -0,0 +1,13 @@
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
config.color_scheme = 'AdventureTime'
-- and finally, return the configuration to wezterm
return config