many changes from work laptop
This commit is contained in:
parent
218c64abd7
commit
2024cb2e1e
@ -18,3 +18,4 @@ require("nvimtest_config")
|
|||||||
require("neotest_config")
|
require("neotest_config")
|
||||||
require("trouble_config")
|
require("trouble_config")
|
||||||
require("symbols_outline")
|
require("symbols_outline")
|
||||||
|
require("luasnip_config")
|
||||||
|
1
nvim/lua/luasnip_config.lua
Normal file
1
nvim/lua/luasnip_config.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
require("luasnip.loaders.from_vscode").lazy_load()
|
@ -1,6 +1,11 @@
|
|||||||
|
|
||||||
vim.cmd('hi CursorLine term=bold cterm=bold ctermbg=darkgrey')
|
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([[
|
vim.cmd([[
|
||||||
runtime macros/sandwich/keymap/surround.vim
|
runtime macros/sandwich/keymap/surround.vim
|
||||||
]])
|
]])
|
||||||
|
@ -104,3 +104,4 @@ require('mason-lspconfig').setup_handlers {
|
|||||||
-- ["rust-analyzer"] = {}
|
-- ["rust-analyzer"] = {}
|
||||||
-- }
|
-- }
|
||||||
--}
|
--}
|
||||||
|
require"fidget".setup{}
|
||||||
|
@ -44,9 +44,11 @@ require("packer").startup(function(use)
|
|||||||
use("hrsh7th/cmp-cmdline")
|
use("hrsh7th/cmp-cmdline")
|
||||||
use("saadparwaiz1/cmp_luasnip")
|
use("saadparwaiz1/cmp_luasnip")
|
||||||
use("L3MON4D3/LuaSnip")
|
use("L3MON4D3/LuaSnip")
|
||||||
|
use("rafamadriz/friendly-snippets")
|
||||||
use("kyazdani42/nvim-web-devicons")
|
use("kyazdani42/nvim-web-devicons")
|
||||||
use("kyazdani42/nvim-tree.lua")
|
use("kyazdani42/nvim-tree.lua")
|
||||||
use("tpope/vim-fugitive")
|
use("tpope/vim-fugitive")
|
||||||
|
use("shumphrey/fugitive-gitlab.vim")
|
||||||
use({
|
use({
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
run = function()
|
run = function()
|
||||||
@ -54,6 +56,8 @@ require("packer").startup(function(use)
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
use("folke/tokyonight.nvim")
|
use("folke/tokyonight.nvim")
|
||||||
|
use("ayu-theme/ayu-vim")
|
||||||
|
use("morhetz/gruvbox")
|
||||||
use("simrat39/rust-tools.nvim")
|
use("simrat39/rust-tools.nvim")
|
||||||
use({
|
use({
|
||||||
"akinsho/toggleterm.nvim",
|
"akinsho/toggleterm.nvim",
|
||||||
@ -105,4 +109,5 @@ require("packer").startup(function(use)
|
|||||||
run = ':call doge#install()'
|
run = ':call doge#install()'
|
||||||
}
|
}
|
||||||
use 'simrat39/symbols-outline.nvim'
|
use 'simrat39/symbols-outline.nvim'
|
||||||
|
use 'j-hui/fidget.nvim'
|
||||||
end)
|
end)
|
||||||
|
@ -1,5 +1,18 @@
|
|||||||
require('telescope').load_extension('lsp_handlers')
|
require('telescope').load_extension('lsp_handlers')
|
||||||
require('telescope').setup({
|
require('telescope').setup({
|
||||||
|
defaults={
|
||||||
|
path_display={"smart"},
|
||||||
|
},
|
||||||
|
pickers={
|
||||||
|
find_files={
|
||||||
|
theme="dropdown",
|
||||||
|
layout_config={
|
||||||
|
horizontal= {width=0.5}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
extensions = {
|
extensions = {
|
||||||
lsp_handlers = {
|
lsp_handlers = {
|
||||||
code_action = {
|
code_action = {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
require"toggleterm".setup{
|
vim.api.nvim_set_keymap('t', "<Esc><Esc>", [[<C-\><C-n>]], {})
|
||||||
|
require "toggleterm".setup {
|
||||||
open_mapping = [[<c-y>]],
|
open_mapping = [[<c-y>]],
|
||||||
hide_numbers = true,
|
hide_numbers = true,
|
||||||
--direction = 'float',
|
--direction = 'float',
|
||||||
@ -9,5 +10,3 @@ require"toggleterm".setup{
|
|||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user