Add some nvim configuration for CSS, HTML, and JS files

This commit is contained in:
Eryn Wells 2023-04-08 17:56:56 -07:00
parent 50c181f2fd
commit b1103ab027
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,4 @@
-- Eryn Wells <eryn@erynwells.me>
vim.bo.shiftwidth = 4
vim.bo.softtabstop = 4

View file

@ -0,0 +1,6 @@
-- Eryn Wells <eryn@erynwells.me>
local root = gitTopLevelDirectory()
vim.opt_local.path:prepend(root .. "/assets/scripts/**")
vim.opt_local.path:prepend(root .. "/assets/styles/**")
vim.opt_local.path:prepend(root .. "/layouts/**")

View file

@ -0,0 +1,4 @@
-- Eryn Wells <eryn@erynwells.me>
local root = gitTopLevelDirectory()
vim.opt_local.path:prepend(root .. "/assets/scripts/**")