mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat: add swift lang plugin
This commit is contained in:
parent
530e94a9fa
commit
5ab7a24aa5
1 changed files with 10 additions and 0 deletions
10
lua/lazyvim/plugins/extras/lang/swift.lua
Normal file
10
lua/lazyvim/plugins/extras/lang/swift.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
-- Add Swift to treesitter for syntax highlighting
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "swift" })
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue