From 136d55c8307f295f1398de2fd48529fbe6153435 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Tue, 28 Apr 2026 21:32:18 -0500 Subject: [PATCH 1/4] format typescript and javascript on save --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2692faa7..a5c8743d 100644 --- a/init.lua +++ b/init.lua @@ -699,7 +699,10 @@ require('lazy').setup({ format_on_save = function(bufnr) -- You can specify filetypes to autoformat on save here: local enabled_filetypes = { - -- lua = true, + lua = true, + javascript = true, + typescript = true, + typescriptreact = true, -- python = true, } if enabled_filetypes[vim.bo[bufnr].filetype] then From 049902a802fc3339ce88ed9672a819ab86d551f8 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Wed, 3 Jun 2026 20:33:20 -0500 Subject: [PATCH 2/4] add quick no-wrap configuration --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 78f48dba..766bd5d6 100644 --- a/init.lua +++ b/init.lua @@ -104,6 +104,9 @@ vim.o.number = true -- Experiment for yourself to see if you like it! vim.o.relativenumber = true +-- Set to nowrap //TODO: can this be in a separate file than the init.lua to avoid conflicts with upstream? +vim.o.wrap = false + -- Enable mouse mode, can be useful for resizing splits for example! vim.o.mouse = 'a' @@ -703,6 +706,7 @@ require('lazy').setup({ javascript = true, typescript = true, typescriptreact = true, + cs = true, -- python = true, } if enabled_filetypes[vim.bo[bufnr].filetype] then From 6e93058d91d22b92b449cca3427913b7debb40f3 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Wed, 1 Jul 2026 11:39:19 -0500 Subject: [PATCH 3/4] initial svelte configuration and document issues --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 766bd5d6..94609fbe 100644 --- a/init.lua +++ b/init.lua @@ -707,6 +707,8 @@ require('lazy').setup({ typescript = true, typescriptreact = true, cs = true, + --TODO: not getting any lsp completion for svelte files + svelte = true, -- python = true, } if enabled_filetypes[vim.bo[bufnr].filetype] then @@ -729,6 +731,7 @@ require('lazy').setup({ javascript = { 'prettierd', 'prettier', stop_after_first = true }, typescript = { 'prettierd', 'prettier', stop_after_first = true }, typescriptreact = { 'prettierd', 'prettier', stop_after_first = true }, + svelte = { 'prettierd', 'prettier', stop_after_first = true }, }, }, }, From 0c7103a269b0d5e965e1150392905a4e6701e9cc Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Wed, 1 Jul 2026 15:00:36 -0500 Subject: [PATCH 4/4] remove all commented and disabld filetypes --- init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/init.lua b/init.lua index 65bf54dd..18b1f11d 100644 --- a/init.lua +++ b/init.lua @@ -806,7 +806,6 @@ do cs = true, --TODO: not getting any lsp completion for svelte files svelte = true, - -- python = true, } if enabled_filetypes[vim.bo[bufnr].filetype] then return { timeout_ms = 500 }