Skip to content

Commit

Permalink
Merge branch 'master' into add/keymap-ex
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyuga-Tsukui authored Aug 19, 2024
2 parents 1ca6d7d + c81e0c6 commit a42f1dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion dot_config/nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
if not vim.g.vscode then
require("core.keymaps")
require("core.keymaps")
vim.cmd[[colorscheme tokyonight]]
local opt = vim.opt
opt.tabstop = 4
opt.expandtab = true
Expand Down Expand Up @@ -31,6 +32,14 @@ if not vim.g.vscode then
vim.opt.undodir = undodir
vim.opt.undofile = true

vim.diagnostic.config({
virtual_text = {
format = function(diagnostic)
return string.format("%s (%s: %s)", diagnostic.message, diagnostic.source, diagnostic.code)
end,
},
})

-- manage plugins.
vim.cmd.packadd("packer.nvim")
require("packer").startup(function()
Expand Down Expand Up @@ -159,6 +168,9 @@ if not vim.g.vscode then
}),
{ name = "buffer" },
})

-- Color
use("folke/tokyonight.nvim")
end)
end

Expand Down
1 change: 1 addition & 0 deletions dot_wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local wezterm = require("wezterm")
local config = wezterm.config_builder()
config.font = wezterm.font("Ricty Diminished")
config.font_size = 18
config.color_scheme = 'tokyonight'

local act = wezterm.action
config.keys = {
Expand Down

0 comments on commit a42f1dd

Please sign in to comment.