many changes from work laptop

This commit is contained in:
Markus Dieckmann 2022-12-22 19:22:41 +01:00
parent 218c64abd7
commit 2024cb2e1e
7 changed files with 29 additions and 4 deletions

View File

@ -18,3 +18,4 @@ require("nvimtest_config")
require("neotest_config")
require("trouble_config")
require("symbols_outline")
require("luasnip_config")

View File

@ -0,0 +1 @@
require("luasnip.loaders.from_vscode").lazy_load()

View File

@ -1,6 +1,11 @@
vim.cmd('hi CursorLine term=bold cterm=bold ctermbg=darkgrey')
vim.cmd[[colorscheme tokyonight]]
--vim.cmd[[colorscheme tokyonight]]
vim.cmd[[set termguicolors]]
--vim.cmd[[let ayucolor = "light"]]
--vim.cmd[[colorscheme ayu]]
vim.cmd[[set background=light]]
vim.cmd[[colorscheme gruvbox]]
vim.cmd([[
runtime macros/sandwich/keymap/surround.vim
]])

View File

@ -104,3 +104,4 @@ require('mason-lspconfig').setup_handlers {
-- ["rust-analyzer"] = {}
-- }
--}
require"fidget".setup{}

View File

@ -44,9 +44,11 @@ require("packer").startup(function(use)
use("hrsh7th/cmp-cmdline")
use("saadparwaiz1/cmp_luasnip")
use("L3MON4D3/LuaSnip")
use("rafamadriz/friendly-snippets")
use("kyazdani42/nvim-web-devicons")
use("kyazdani42/nvim-tree.lua")
use("tpope/vim-fugitive")
use("shumphrey/fugitive-gitlab.vim")
use({
"nvim-treesitter/nvim-treesitter",
run = function()
@ -54,6 +56,8 @@ require("packer").startup(function(use)
end,
})
use("folke/tokyonight.nvim")
use("ayu-theme/ayu-vim")
use("morhetz/gruvbox")
use("simrat39/rust-tools.nvim")
use({
"akinsho/toggleterm.nvim",
@ -105,4 +109,5 @@ require("packer").startup(function(use)
run = ':call doge#install()'
}
use 'simrat39/symbols-outline.nvim'
use 'j-hui/fidget.nvim'
end)

View File

@ -1,5 +1,18 @@
require('telescope').load_extension('lsp_handlers')
require('telescope').setup({
defaults={
path_display={"smart"},
},
pickers={
find_files={
theme="dropdown",
layout_config={
horizontal= {width=0.5}
}
}
},
extensions = {
lsp_handlers = {
code_action = {

View File

@ -1,3 +1,4 @@
vim.api.nvim_set_keymap('t', "<Esc><Esc>", [[<C-\><C-n>]], {})
require "toggleterm".setup {
open_mapping = [[<c-y>]],
hide_numbers = true,
@ -9,5 +10,3 @@ require"toggleterm".setup{
enabled = false
}
}