summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua23
-rw-r--r--lazy-lock.json2
-rw-r--r--lua/autocomplete/autocomplete.lua2
-rw-r--r--lua/telescope/telescope.lua5
-rw-r--r--lua/transparent/transparent.lua7
5 files changed, 31 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index ffa7c8c..96f3134 100644
--- a/init.lua
+++ b/init.lua
@@ -12,19 +12,19 @@ end
vim.opt.rtp:prepend(lazypath)
-- lazy setup
-require("lazy").setup({
+require('lazy').setup({
-- Loading theme
{ "rebelot/kanagawa.nvim",
-- "ellisonleao/gruvbox.nvim",
config = function()
- require("theme/kanagawa")
+ require('theme/kanagawa')
end,},
-- LSP
{
{'VonHeikemen/lsp-zero.nvim',
config = function()
- require("autocomplete/autocomplete")
+ require('autocomplete/autocomplete')
end
},
'neovim/nvim-lspconfig',
@@ -50,7 +50,7 @@ require("lazy").setup({
},
{"xiyaowong/transparent.nvim",
config = function()
- enable = true
+ require('transparent/transparent')
end},
{
@@ -68,9 +68,18 @@ require("lazy").setup({
end
},
{"rose-pine/neovim"},
- {"tiagovla/tokyodark.nvim"}
+ {"tiagovla/tokyodark.nvim"},
+ -- Telescope
+ {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.5',
+-- or , branch = '0.1.x',
+ dependencies = { 'nvim-lua/plenary.nvim' },
+ config = function()
+ require('telescope/telescope')
+ end
+ }
})
-- nvim settings
-require("nvim_settings/set")
-require("nvim_settings/remap")
+require('nvim_settings/set')
+require('nvim_settings/remap')
diff --git a/lazy-lock.json b/lazy-lock.json
index 5f19d4d..70d5798 100644
--- a/lazy-lock.json
+++ b/lazy-lock.json
@@ -16,6 +16,8 @@
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
"nvim-lspconfig": { "branch": "master", "commit": "ae91a303a2258cb9cd9501e9d20c2dc92792d362" },
"nvim-treesitter": { "branch": "master", "commit": "f6342874b1113984dfedfcf595ad321c4cd1a896" },
+ "plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" },
+ "telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
"tokyodark.nvim": { "branch": "master", "commit": "b6f365cf5b6a2a2fa7de2578ca047db0721335ec" },
"transparent.nvim": { "branch": "main", "commit": "fd35a46f4b7c1b244249266bdcb2da3814f01724" }
} \ No newline at end of file
diff --git a/lua/autocomplete/autocomplete.lua b/lua/autocomplete/autocomplete.lua
index 3e81bc6..ce4f77a 100644
--- a/lua/autocomplete/autocomplete.lua
+++ b/lua/autocomplete/autocomplete.lua
@@ -27,7 +27,7 @@ cmp.setup({
{name = 'luasnip', keyword_length = 2},
},
window = {
- -- completion = cmp.config.window.bordered(),
+ completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered()
},
formatting = {
diff --git a/lua/telescope/telescope.lua b/lua/telescope/telescope.lua
new file mode 100644
index 0000000..2f91f35
--- /dev/null
+++ b/lua/telescope/telescope.lua
@@ -0,0 +1,5 @@
+return {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.5',
+ -- or , branch = '0.1.x',
+ dependencies = { 'nvim-lua/plenary.nvim' }
+ }
diff --git a/lua/transparent/transparent.lua b/lua/transparent/transparent.lua
new file mode 100644
index 0000000..757009b
--- /dev/null
+++ b/lua/transparent/transparent.lua
@@ -0,0 +1,7 @@
+require("transparent").setup({
+ extra_groups = { -- table/string: additional groups that should be cleared
+ -- In particular, when you set it to 'all', that means all available groups
+ "TelescopeBorder",
+ "FloatBorder"
+},
+})