Compare commits
4 Commits
a4220dbc98
...
ce3b31dbb0
Author | SHA1 | Date | |
---|---|---|---|
ce3b31dbb0 | |||
248d3353ed | |||
e732a14c92 | |||
069066266e |
7
users/price/conf/pandoc/default.nix
Normal file
7
users/price/conf/pandoc/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ texliveTeTeX ];
|
||||
programs.pandoc = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.textwidth = 0
|
||||
vim.opt_local.textwidth = 120
|
||||
vim.opt_local.wrap = false
|
||||
|
||||
vim.keymap.set("n", "<leader>fr", "<cmd>MarkdownPreview<CR>", {
|
||||
|
@ -1,4 +1,3 @@
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.textwidth = 0
|
||||
vim.opt_local.modeline = true
|
||||
vim.opt_local.wrap = false
|
||||
|
@ -145,10 +145,46 @@ return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"Decodetalkers/csharpls-extended-lsp.nvim",
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
opts = {
|
||||
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"tsserver",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-java/nvim-java",
|
||||
config = true,
|
||||
ft = { "java" },
|
||||
config = function()
|
||||
require("java").setup()
|
||||
|
||||
require("lspconfig").jdtls.setup({
|
||||
capabilities = lsp_capabilities,
|
||||
on_attach = on_attach,
|
||||
init_options = {
|
||||
extendedClientCapabilities = {
|
||||
-- Have to disable this to make jdtls actually show hovers lol
|
||||
clientHoverProvider = false,
|
||||
},
|
||||
},
|
||||
settings = {
|
||||
java = {
|
||||
inlayHints = {
|
||||
parameterNames = {
|
||||
enabled = "all",
|
||||
exclusions = { "this" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-java/lua-async-await",
|
||||
"nvim-java/nvim-java-refactor",
|
||||
@ -156,21 +192,19 @@ return {
|
||||
"nvim-java/nvim-java-test",
|
||||
"nvim-java/nvim-java-dap",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"neovim/nvim-lspconfig",
|
||||
"mfussenegger/nvim-dap",
|
||||
"williamboman/mason.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
max_concurrent_installers = 12,
|
||||
registries = {
|
||||
"github:nvim-java/mason-registry",
|
||||
"github:mason-org/mason-registry",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
cmd = {
|
||||
"Mason",
|
||||
"MasonLog",
|
||||
@ -179,11 +213,7 @@ return {
|
||||
"MasonUninstall",
|
||||
"MasonUninstallAll",
|
||||
},
|
||||
opts = {
|
||||
max_concurrent_installers = 12,
|
||||
},
|
||||
},
|
||||
"simrat39/rust-tools.nvim",
|
||||
"Hoffs/omnisharp-extended-lsp.nvim",
|
||||
"b0o/schemastore.nvim",
|
||||
{
|
||||
@ -282,17 +312,8 @@ return {
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local mason_lspconfig = require("mason-lspconfig")
|
||||
local lspconfig = require("lspconfig")
|
||||
|
||||
-- NOTE: Keep this near top
|
||||
mason_lspconfig.setup({
|
||||
automatic_installation = true,
|
||||
ensure_installed = {
|
||||
"tsserver",
|
||||
},
|
||||
})
|
||||
|
||||
-- NOTE: ANSIBLE LSP
|
||||
-- I use ansible a lot, define exceptions for servers that can use
|
||||
-- server:setup & vim.cmd at the bottom here
|
||||
@ -484,7 +505,6 @@ return {
|
||||
"eslint",
|
||||
"html",
|
||||
"cssls",
|
||||
"jdtls",
|
||||
"kotlin_language_server",
|
||||
"terraformls",
|
||||
"tflint",
|
||||
|
Loading…
x
Reference in New Issue
Block a user