dotfiles
custom linux config files managed with gnu stow
![dotfiles](http://code.x-e.ro/ui/img/code/dotfiles.png)
local util = require 'lspconfig.util'
return function(on_attach)
return {
on_attach = function(client, bufnr)
on_attach(client, bufnr)
end,
cmd = { 'nginx-language-server' },
cmd_env = {
GLOB_PATTERN = "*@(nginx.conf)",
},
filetypes = { "nginx" },
root_dir = util.find_git_ancestor,
single_file_support = true,
}
end