diff --git a/ghostty/config b/ghostty/config index a4bcd7c..c1794f7 100644 --- a/ghostty/config +++ b/ghostty/config @@ -11,7 +11,6 @@ window-save-state = always # Also makes some of the below macos-titlebar-* things not matter, but # will take affect if this is set to true. window-decoration = false -winow-save-state = true copy-on-select = true quit-after-last-window-closed = true diff --git a/nvim/m-housh/lua/config/lazy.lua b/nvim/m-housh/lua/config/lazy.lua index 43500c0..bbc9c79 100755 --- a/nvim/m-housh/lua/config/lazy.lua +++ b/nvim/m-housh/lua/config/lazy.lua @@ -48,6 +48,17 @@ require("lazy").setup({ rocks = { "magick" }, }, }, + { + "folke/lazydev.nvim", + ft = "lua", -- only load on lua files + opts = { + library = { + -- See the configuration section for more details + -- Load luvit types when the `vim.uv` word is found + { path = "${3rd}/luv/library", words = { "vim%.uv" } }, + }, + }, + }, { "MeanderingProgrammer/render-markdown.nvim", -- dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite diff --git a/nvim/m-housh/lua/plugins/cmp.lua b/nvim/m-housh/lua/plugins/cmp.lua index 4ea0653..e3a3e6b 100755 --- a/nvim/m-housh/lua/plugins/cmp.lua +++ b/nvim/m-housh/lua/plugins/cmp.lua @@ -4,6 +4,7 @@ return { event = "VeryLazy", dependencies = { "MeanderingProgrammer/render-markdown.nvim", + "folke/lazydev.nvim", "hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-buffer", -- source for text in buffer "hrsh7th/cmp-path", -- source for file system paths @@ -75,6 +76,7 @@ return { }), -- sources for autocompletion sources = cmp.config.sources({ + { name = "lazydev", group_index = 0 }, { name = "nvim_lsp" }, { name = "luasnip" }, -- snippets { name = "render-markdown" }, -- markdown diff --git a/nvim/m-housh/lua/plugins/ghostty.lua b/nvim/m-housh/lua/plugins/ghostty.lua index bfc5956..a6e82d6 100644 --- a/nvim/m-housh/lua/plugins/ghostty.lua +++ b/nvim/m-housh/lua/plugins/ghostty.lua @@ -1,5 +1,5 @@ return { "ghostty", - dir = "/Applications/Ghostty.app/Contents/Resources/vim/vimfiles/", + dir = vim.env.GHOSTTY_PATH .. "/Contents/Resources/vim/vimfiles/", lazy = false, }