···
95
+
plugin = gruvbox-nvim;
97
+
# TODO is there a better place to put this?
102
+
setlocal shiftwidth=2
104
+
setlocal softtabstop=2
108
+
"ftplugin/nix.vim".text = ml-style;
109
+
"ftplugin/ocaml.vim".text = ml-style;
110
+
"ftplugin/ledger.vim".text = ''
111
+
setlocal foldmethod=syntax
···
config = builtins.readFile ./lsp.lua;
418
-
setlocal shiftwidth=2
420
-
setlocal softtabstop=2
424
-
"ftplugin/nix.vim".text = ml-style;
425
-
"ftplugin/ocaml.vim".text = ml-style;
426
-
"ftplugin/java.lua".text = ''
427
-
local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), ':p:h:t')
428
-
local workspace_dir = '~/.cache/jdt/' .. project_name
429
-
require('jdtls').start_or_attach {
430
-
on_attach = On_attach,
431
-
capabilities = Capabilities,
432
-
cmd = { 'jdt-language-server', '-data', workspace_dir, },
433
-
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
436
-
"ftplugin/ledger.vim".text = ''
437
-
setlocal foldmethod=syntax
435
+
"ftplugin/java.lua".text = ''
436
+
local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), ':p:h:t')
437
+
local workspace_dir = '~/.cache/jdt/' .. project_name
438
+
require('jdtls').start_or_attach {
439
+
on_attach = On_attach,
440
+
capabilities = Capabilities,
441
+
cmd = { 'jdt-language-server', '-data', workspace_dir, },
442
+
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),