nvim
This commit is contained in:
parent
99cbacf737
commit
14e176445d
4 changed files with 21 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
# -*- 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)
|
||||
# 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" },
|
||||
{ "williamboman/mason.nvim", branch = "v1.0.1" },
|
||||
"stevearc/oil.nvim",
|
||||
"mfussenegger/nvim-lint",
|
||||
|
||||
-- Treesitter
|
||||
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
||||
|
|
|
@ -2,18 +2,13 @@ local wezterm = require 'wezterm'
|
|||
|
||||
return {
|
||||
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
|
||||
-- freetype_load_target = 'Light',
|
||||
-- freetype_render_target = 'HorizontalLcd',
|
||||
color_scheme = 'Catppuccin Mocha',
|
||||
window_background_opacity = 0.9,
|
||||
max_fps = 165,
|
||||
front_end = "WebGpu",
|
||||
webgpu_power_preference = "HighPerformance",
|
||||
initial_cols = 160,
|
||||
initial_rows = 48,
|
||||
harfbuzz_features = { "zero" },
|
||||
front_end = "OpenGL",
|
||||
use_fancy_tab_bar = true,
|
||||
window_padding = {
|
||||
left = 10,
|
||||
right = 5,
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue