diff --git a/init.lua b/init.lua index d1585f9..6f0844e 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,5 @@ require("absolute") + vim.g.loaded_perl_provider = 0 vim.g.loaded_ruby_provider = 0 diff --git a/lazy-lock.json b/lazy-lock.json index 6cc04c1..6d3f091 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -29,7 +29,7 @@ "nvim-lsp-file-operations": { "branch": "master", "commit": "8e7223e138590c1bd9d86d3de810e65939d8b12f" }, "nvim-lspconfig": { "branch": "master", "commit": "ce0e625df61be77abe1340fbc9afe9ad39b31dd8" }, "nvim-tree.lua": { "branch": "master", "commit": "f1b3e6a7eb92da492bd693257367d9256839ed3d" }, - "nvim-treesitter": { "branch": "master", "commit": "3ef514b10b9557e3905b9817ca632e7506dd384a" }, + "nvim-treesitter": { "branch": "master", "commit": "0da349ed303bea955942f409d29059cdb89dbe2c" }, "nvim-web-devicons": { "branch": "master", "commit": "3e24abe1ae66532135cec911562f553fe247cb56" }, "nvim_lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" }, @@ -38,6 +38,7 @@ "rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" }, "telescope-dap.nvim": { "branch": "master", "commit": "4e2d5efb92062f0b865fe59b200b5ed7793833bf" }, "telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" }, + "tokyonight": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" }, "undotree": { "branch": "master", "commit": "36ff7abb6b60980338344982ad4cdf03f7961ecd" }, "vim-fugitive": { "branch": "master", "commit": "59659093581aad2afacedc81f009ed6a4bfad275" }, "vim-maximizer": { "branch": "master", "commit": "2e54952fe91e140a2e69f35f22131219fcd9c5f1" }, diff --git a/lua/absolute/after/colorscheme.lua b/lua/absolute/after/colorscheme.lua index 95ff424..ed033a0 100644 --- a/lua/absolute/after/colorscheme.lua +++ b/lua/absolute/after/colorscheme.lua @@ -1,8 +1,8 @@ function SetTheme(color) color = color or "rose-pine" vim.cmd.colorscheme(color) - vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) - vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) + -- vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) + -- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) end -SetTheme("nightfly") +SetTheme("tokyonight") diff --git a/lua/absolute/after/jedi.lua b/lua/absolute/after/jedi.lua index 639ccfe..9db6ddf 100644 --- a/lua/absolute/after/jedi.lua +++ b/lua/absolute/after/jedi.lua @@ -1,5 +1,5 @@ -vim.g["jedi#popup_on_dot"] = 0 +vim.g["jedi#popup_on_dot"] = 1 -- Keybindings diff --git a/lua/absolute/after/tokyonight.lua b/lua/absolute/after/tokyonight.lua new file mode 100644 index 0000000..c4462bd --- /dev/null +++ b/lua/absolute/after/tokyonight.lua @@ -0,0 +1,7 @@ +local theme = require("tokyonight") + +theme.setup({ + style = "night", + transparent = true, + dim_inactive = true, +}) diff --git a/lua/absolute/plugins/tokyonight.lua b/lua/absolute/plugins/tokyonight.lua new file mode 100644 index 0000000..376244c --- /dev/null +++ b/lua/absolute/plugins/tokyonight.lua @@ -0,0 +1,7 @@ +return { + "folke/tokyonight.nvim", + name = "tokyonight", + config = function() + require("absolute.after.tokyonight") + end, +} diff --git a/lua/absolute/remap.lua b/lua/absolute/remap.lua index 4b77d6e..b629f00 100644 --- a/lua/absolute/remap.lua +++ b/lua/absolute/remap.lua @@ -63,6 +63,7 @@ opts.desc = "Disable Q - Nothing Good Ever Happens" vim.keymap.set("n", "Q", "", opts) -- Format document with LSP Formatter + opts.desc = "Format document with LSP Formatter" vim.keymap.set("n", "f", vim.lsp.buf.format, opts)