Fork and customize config

This commit is contained in:
Garrett Dawson 2023-03-18 22:47:34 -06:00
parent 4a37a0a9b1
commit e137556250
6 changed files with 155 additions and 35 deletions

View file

@ -1,5 +1,26 @@
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
-- See the kickstart.nvim README for more information
return {}
return {
{ "github/copilot.vim", },
{ "myusuf3/numbers.vim", },
{ "tpope/vim-eunuch", },
{ "tpope/vim-repeat", },
{ "tpope/vim-surround" },
{
"nvim-tree/nvim-web-devicons",
opts = {}
},
{
"windwp/nvim-autopairs",
config = function()
require("nvim-autopairs").setup {}
end,
},
{
"kristijanhusak/vim-dirvish-git",
dependencies = {
"justinmk/vim-dirvish",
},
},
}

View file

@ -0,0 +1,10 @@
return {
'norcalli/nvim-base16.lua',
lazy = false,
priority = 1000,
config = function()
local base16 = require 'base16'
base16(base16.themes[vim.env.BASE16_THEME or "3024"], true)
end,
}

View file

@ -0,0 +1,20 @@
-- RevealInFinder
-- ---------------------------------------------------------------------------
-- set this to leader-e
vim.cmd([[
function! s:RevealInFinder()
if filereadable(expand("%"))
let l:command = "open -R %"
elseif getftype(expand("%:p:h")) == "dir"
let l:command = "open %:p:h"
else
let l:command = "open ."
endif
execute ":silent! !" . l:command
redraw!
endfunction
command! Reveal call <SID>RevealInFinder()
]])
return {}

View file

@ -46,9 +46,9 @@ return {
-- Tsserver usually works poorly. Sorry you work with bad languages
-- You can remove this line if you know what you're doing :)
if client.name == 'tsserver' then
return
end
-- if client.name == 'tsserver' then
-- return
-- end
-- Create an autocmd that will run *before* we save the buffer.
-- Run the formatting command for the LSP that has just attached.