.config/nvim/lua/plugins/filetype.lua

Sun, 05 Mar 2023 19:32:15 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 19:32:15 -0600
changeset 1064
fcfa295076a8
parent 1060
c20cb89a2ee9
child 1068
537a428597b5
permissions
-rw-r--r--

Apply stylua

1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 local g = vim.g
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 -- >> Perl
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 g.perl_include_pod = 1
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 g.perl_sub_signatures = 1
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 g.perl_sync_dist = 300
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 g.perl_compiler_force_warnings = 0
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 return {
1057
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
10 {
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
11 "nvim-treesitter/nvim-treesitter",
1057
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
12 build = function()
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
13 require("nvim-treesitter.install").update({ with_sync = true })
1057
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
14 end,
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
15 config = function()
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
16 require("nvim-treesitter.configs").setup({
1057
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
17 highlight = { enable = true },
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
18 indent = { enable = true },
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
19 ensure_installed = {
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
20 "c",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
21 "comment",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
22 "eex",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
23 "elixir",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
24 "heex",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
25 "help",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
26 "lua",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
27 "surface",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
28 "vim",
1057
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
29 },
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
30 })
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
31 end,
3c42989e695b Add treesitter for elixir support
Meredith Howard <mhoward@roomag.org>
parents: 1027
diff changeset
32 },
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
33 "Shougo/vinarise.vim",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
34 "asciidoc/vim-asciidoc",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
35 { "vim-perl/vim-perl", branch = "dev" },
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1060
diff changeset
36 "yko/mojo.vim",
1022
d509e282ae10 More nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 }

mercurial