Add some nvim configuration for CSS, HTML, and JS files
This commit is contained in:
parent
50c181f2fd
commit
b1103ab027
3 changed files with 14 additions and 0 deletions
4
.nvim/after/ftplugin/css.lua
Normal file
4
.nvim/after/ftplugin/css.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
-- Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
vim.bo.shiftwidth = 4
|
||||
vim.bo.softtabstop = 4
|
6
.nvim/after/ftplugin/html.lua
Normal file
6
.nvim/after/ftplugin/html.lua
Normal 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/**")
|
4
.nvim/after/ftplugin/javascript.lua
Normal file
4
.nvim/after/ftplugin/javascript.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
-- Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
local root = gitTopLevelDirectory()
|
||||
vim.opt_local.path:prepend(root .. "/assets/scripts/**")
|
Loading…
Add table
Add a link
Reference in a new issue