this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nvim: shell lsp stuff

Seth Etter 757c7693 cb7eaa27

+15 -2
+15 -2
nvim/lua/plugins/lsp.lua
··· 10 10 local lspc = require("lspconfig") 11 11 local lspconfig_defaults = lspc.util.default_config 12 12 lspconfig_defaults.capabilities = 13 - vim.tbl_deep_extend("force", lspconfig_defaults.capabilities, require("cmp_nvim_lsp").default_capabilities()) 13 + vim.tbl_deep_extend("force", lspconfig_defaults.capabilities, require("cmp_nvim_lsp").default_capabilities()) 14 14 end, 15 15 }, 16 16 { ··· 92 92 }, 93 93 }, 94 94 } 95 + LangServers.bashls = { 96 + filetypes = { "sh", "bash", "zsh" }, 97 + } 98 + LangServers.efm = { 99 + filetypes = { "sh", "bash", "zsh" }, 100 + settings = { 101 + rootMarkers = { ".git/" }, 102 + languages = { 103 + sh = { { formatCommand = "shfmt -ci", formatStdin = true } }, 104 + bash = { { formatCommand = "shfmt -ci", formatStdin = true } }, 105 + zsh = { { formatCommand = "shfmt -ci", formatStdin = true } }, 106 + }, 107 + }, 108 + } 95 109 LangServers.gopls = { 96 110 cmd = { "gopls" }, 97 111 filetypes = { "go", "gomod", "gowork", "gotmpl" }, ··· 118 132 vim.lsp.buf.format() 119 133 end, 120 134 }) 121 - 122 135 end, 123 136 }, 124 137 {