nvim
This commit is contained in:
parent
99cbacf737
commit
14e176445d
4 changed files with 21 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
# -*- conf -*-
|
# -*- conf -*-
|
||||||
|
|
||||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
shell=fish
|
||||||
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
# login-shell=no
|
# login-shell=no
|
||||||
|
|
||||||
|
|
14
nvim/dot-config/nvim/after/plugin/nvim-lint.lua
Normal file
14
nvim/dot-config/nvim/after/plugin/nvim-lint.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
local ok, lint = pcall(require, "lint")
|
||||||
|
if not ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
lint.linters_by_ft = {
|
||||||
|
sh = { "shellcheck" }
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "InsertLeave" }, {
|
||||||
|
callback = function()
|
||||||
|
lint.try_lint()
|
||||||
|
end
|
||||||
|
})
|
|
@ -30,6 +30,7 @@ require "paq" {
|
||||||
{ "catppuccin/nvim", as = "catppuccin" },
|
{ "catppuccin/nvim", as = "catppuccin" },
|
||||||
{ "williamboman/mason.nvim", branch = "v1.0.1" },
|
{ "williamboman/mason.nvim", branch = "v1.0.1" },
|
||||||
"stevearc/oil.nvim",
|
"stevearc/oil.nvim",
|
||||||
|
"mfussenegger/nvim-lint",
|
||||||
|
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
||||||
|
|
|
@ -2,18 +2,13 @@ local wezterm = require 'wezterm'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
|
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
|
||||||
-- freetype_load_target = 'Light',
|
|
||||||
-- freetype_render_target = 'HorizontalLcd',
|
|
||||||
color_scheme = 'Catppuccin Mocha',
|
color_scheme = 'Catppuccin Mocha',
|
||||||
window_background_opacity = 0.9,
|
harfbuzz_features = { "zero" },
|
||||||
max_fps = 165,
|
front_end = "OpenGL",
|
||||||
front_end = "WebGpu",
|
use_fancy_tab_bar = true,
|
||||||
webgpu_power_preference = "HighPerformance",
|
|
||||||
initial_cols = 160,
|
|
||||||
initial_rows = 48,
|
|
||||||
window_padding = {
|
window_padding = {
|
||||||
left = 10,
|
left = 0,
|
||||||
right = 5,
|
right = 0,
|
||||||
top = 0,
|
top = 0,
|
||||||
bottom = 0,
|
bottom = 0,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue