mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
feat: Updates nvim config to include ghostty config highlighting
This commit is contained in:
@@ -11,7 +11,6 @@ window-save-state = always
|
|||||||
# Also makes some of the below macos-titlebar-* things not matter, but
|
# Also makes some of the below macos-titlebar-* things not matter, but
|
||||||
# will take affect if this is set to true.
|
# will take affect if this is set to true.
|
||||||
window-decoration = false
|
window-decoration = false
|
||||||
winow-save-state = true
|
|
||||||
|
|
||||||
copy-on-select = true
|
copy-on-select = true
|
||||||
quit-after-last-window-closed = true
|
quit-after-last-window-closed = true
|
||||||
|
|||||||
@@ -48,6 +48,17 @@ require("lazy").setup({
|
|||||||
rocks = { "magick" },
|
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",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
-- dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite
|
-- dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ return {
|
|||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
|
"folke/lazydev.nvim",
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-buffer", -- source for text in buffer
|
"hrsh7th/cmp-buffer", -- source for text in buffer
|
||||||
"hrsh7th/cmp-path", -- source for file system paths
|
"hrsh7th/cmp-path", -- source for file system paths
|
||||||
@@ -75,6 +76,7 @@ return {
|
|||||||
}),
|
}),
|
||||||
-- sources for autocompletion
|
-- sources for autocompletion
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
|
{ name = "lazydev", group_index = 0 },
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "luasnip" }, -- snippets
|
{ name = "luasnip" }, -- snippets
|
||||||
{ name = "render-markdown" }, -- markdown
|
{ name = "render-markdown" }, -- markdown
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
return {
|
return {
|
||||||
"ghostty",
|
"ghostty",
|
||||||
dir = "/Applications/Ghostty.app/Contents/Resources/vim/vimfiles/",
|
dir = vim.env.GHOSTTY_PATH .. "/Contents/Resources/vim/vimfiles/",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user