nvim
This commit is contained in:
parent
33e36e742f
commit
65541c9fb1
3 changed files with 34 additions and 23 deletions
|
@ -89,15 +89,26 @@ local eslint = {
|
||||||
lintSource = "eslint",
|
lintSource = "eslint",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local shellcheck = {
|
||||||
|
lintCommand = "shellcheck -f gcc -x",
|
||||||
|
lintSource = "shellcheck",
|
||||||
|
lintFormats = {
|
||||||
|
"%f:%l:%c: %trror: %m",
|
||||||
|
"%f:%l:%c: %tarning: %m",
|
||||||
|
"%f:%l:%c: %tote: %m",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
efm = {
|
efm = {
|
||||||
filetypes = { "typescript", "typescriptreact" },
|
filetypes = { "typescript", "typescriptreact", "sh" },
|
||||||
init_options = { documentFormatting = true },
|
init_options = { documentFormatting = true },
|
||||||
settings = {
|
settings = {
|
||||||
rootMarkers = { ".git/" },
|
rootMarkers = { ".git/" },
|
||||||
languages = {
|
languages = {
|
||||||
typescript = { prettier, eslint },
|
typescript = { prettier, eslint },
|
||||||
typescriptreact = { prettier, eslint },
|
typescriptreact = { prettier, eslint },
|
||||||
|
sh = { shellcheck },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,31 +27,31 @@ local function bootstrap_paq(packages)
|
||||||
end
|
end
|
||||||
|
|
||||||
bootstrap_paq {
|
bootstrap_paq {
|
||||||
"savq/paq-nvim",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"lewis6991/gitsigns.nvim",
|
|
||||||
"kyazdani42/nvim-web-devicons",
|
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
|
||||||
"nvim-lualine/lualine.nvim",
|
|
||||||
"windwp/nvim-autopairs",
|
|
||||||
"mickael-menu/zk-nvim",
|
|
||||||
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
|
|
||||||
{ "nvim-telescope/telescope-fzf-native.nvim", run = "make" },
|
|
||||||
{ "catppuccin/nvim", as = "catppuccin" },
|
{ "catppuccin/nvim", as = "catppuccin" },
|
||||||
{ "williamboman/mason.nvim", branch = "v1.6.0" },
|
{ "lukas-reineke/indent-blankline.nvim", branch = "v2.20.7" },
|
||||||
{ "lukas-reineke/lsp-format.nvim", branch = "v2.5.1" },
|
{ "lukas-reineke/lsp-format.nvim", branch = "v2.5.1" },
|
||||||
|
{ "nvim-telescope/telescope-fzf-native.nvim", run = "make" },
|
||||||
|
{ "nvim-telescope/telescope.nvim", branch = "0.1.x" },
|
||||||
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
{ "nvim-treesitter/nvim-treesitter", branch = "master" },
|
||||||
"nvim-treesitter/playground",
|
{ "stevearc/oil.nvim", branch = "v1.0.0" },
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
{ "williamboman/mason.nvim", branch = "v1.6.0" },
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
|
||||||
"stevearc/oil.nvim",
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
"hrsh7th/nvim-cmp",
|
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
|
||||||
"hrsh7th/cmp-buffer",
|
|
||||||
"hrsh7th/cmp-path",
|
|
||||||
"hrsh7th/cmp-cmdline",
|
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
"lewis6991/gitsigns.nvim",
|
||||||
|
"mickael-menu/zk-nvim",
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
"nvim-lua/lsp-status.nvim",
|
"nvim-lua/lsp-status.nvim",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
|
"nvim-treesitter/playground",
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
|
"savq/paq-nvim",
|
||||||
|
"windwp/nvim-autopairs",
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ return {
|
||||||
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
|
font = wezterm.font 'JetBrainsMono Nerd Font Mono',
|
||||||
color_scheme = 'Catppuccin Mocha',
|
color_scheme = 'Catppuccin Mocha',
|
||||||
harfbuzz_features = { "zero" },
|
harfbuzz_features = { "zero" },
|
||||||
front_end = "OpenGL",
|
front_end = "Software",
|
||||||
use_fancy_tab_bar = true,
|
use_fancy_tab_bar = true,
|
||||||
window_padding = {
|
window_padding = {
|
||||||
left = 0,
|
left = 0,
|
||||||
|
|
Loading…
Reference in a new issue