new pluggins

This commit is contained in:
Luba 2024-09-20 19:26:10 -03:00
parent ce804e1a1a
commit f7b8001852
6 changed files with 29 additions and 13 deletions

View File

@ -5,8 +5,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed
vim.g.have_nerd_font = false
vim.g.have_nerd_font = true
-- [[ Setting options ]]
require 'options'

View File

@ -2,16 +2,17 @@ return {
{ -- Autoformat
'stevearc/conform.nvim',
enabled = true,
lazy = false,
keys = {
{ '<leader>cf', '<cmd>lua require("conform").format()<cr>', desc = '[f]ormat' },
},
config = function()
require('conform').setup {
notify_on_error = false,
-- format_on_save = {
-- timeout_ms = 500,
-- lsp_fallback = true,
-- },
format_on_save = {
timeout_ms = 500,
lsp_fallback = true,
},
formatters_by_ft = {
lua = { 'mystylua' },
python = { 'isort', 'black' },

View File

@ -152,12 +152,6 @@ return {
flags = lsp_flags,
}
lspconfig.tsserver.setup {
capabilities = capabilities,
flags = lsp_flags,
filetypes = { 'js', 'javascript', 'typescript', 'ojs' },
}
local function get_quarto_resource_path()
local function strsplit(s, delimiter)
local result = {}
@ -284,5 +278,5 @@ return {
end,
}
end,
}
},
}

View File

@ -0,0 +1,14 @@
return {
{
'pwntester/octo.nvim',
requires = {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope.nvim',
-- OR 'ibhagwan/fzf-lua',
'nvim-tree/nvim-web-devicons',
},
config = function()
require('octo').setup()
end,
},
}

View File

@ -0,0 +1,5 @@
return {
{
'nvim-tree/nvim-web-devicons',
},
}

View File

@ -49,6 +49,9 @@ require('lazy').setup({
require 'kickstart.plugins.copilot-chat',
require 'kickstart.plugins.octo',
require 'kickstart.plugins.web-dev-icons',
}, {
ui = {
-- If you are using a Nerd Font: set icons to an empty table which will use the