feat: Updates nvim config to include ghostty config highlighting

This commit is contained in:
2025-01-03 13:44:02 -05:00
parent a71ae05e5b
commit dcac27db37
4 changed files with 14 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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,
}