Work on fixing dotfiles install on Ubuntu
This commit is contained in:
parent
94594a1b5f
commit
ae25757f65
|
@ -37,7 +37,7 @@ fi
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
if $NVIM; then
|
if $NVIM; then
|
||||||
dependencies="neovim git unzip fzf cmake gcc make curl wget ripgrep npm"
|
dependencies="neovim git unzip fzf cmake gcc make curl wget ripgrep"
|
||||||
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||||
$SUDO pacman -Sy --needed --noconfirm $dependencies npm go fd dotnet-sdk
|
$SUDO pacman -Sy --needed --noconfirm $dependencies npm go fd dotnet-sdk
|
||||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||||
|
|
|
@ -250,6 +250,7 @@ return {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", "quarto", "rmd", "context", "html", "xhtml", "typst", "mail" }
|
||||||
require('lspconfig').ltex.setup {
|
require('lspconfig').ltex.setup {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
on_attach = function(_, _)
|
on_attach = function(_, _)
|
||||||
|
@ -260,11 +261,11 @@ return {
|
||||||
end,
|
end,
|
||||||
settings = {
|
settings = {
|
||||||
ltex = {
|
ltex = {
|
||||||
enabled = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", "quarto", "rmd", "context", "html", "xhtml", "typst" },
|
enabled = filetypes,
|
||||||
language = "en-GB"
|
language = "en-GB"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
filetypes = { "bib", "gitcommit", "markdown", "org", "plaintex", "rst", "rnoweb", "tex", "pandoc", "quarto", "rmd", "context", "html", "xhtml" , "typst"}
|
filetypes = filetypes
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
|
|
Loading…
Reference in New Issue