-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
109 lines (93 loc) · 3.64 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
--[[
░█████╗░░█████╗░███╗░░██╗███████╗██╗░██████╗░░░░██╗░░░░░██╗░░░██╗░█████╗░
██╔══██╗██╔══██╗████╗░██║██╔════╝██║██╔════╝░░░░██║░░░░░██║░░░██║██╔══██╗
██║░░╚═╝██║░░██║██╔██╗██║█████╗░░██║██║░░██╗░░░░██║░░░░░██║░░░██║███████║
██║░░██╗██║░░██║██║╚████║██╔══╝░░██║██║░░╚██╗░░░██║░░░░░██║░░░██║██╔══██║
╚█████╔╝╚█████╔╝██║░╚███║██║░░░░░██║╚██████╔╝██╗███████╗╚██████╔╝██║░░██║
░╚════╝░░╚════╝░╚═╝░░╚══╝╚═╝░░░░░╚═╝░╚═════╝░╚═╝╚══════╝░╚═════╝░╚═╝░░╚═╝
LunarVim configuratin file
--]]
-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-- If treesitter doesn't work, you need pacman -S tree-sitter-cli
-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
require('settings')
require("nvim-treesitter.health").check()
require('keymaps')
require('plugins')
require("lsvars")
--
lvim.plugins = {
{ "voldikss/vim-floaterm" },
-- Colorschemes and visual plugins:
{ 'bluz71/vim-moonfly-colors' },
{ 'itchyny/lightline.vim' }, -- Fancier statusline
{ "lunarvim/colorschemes" },
-- {"folke/tokyonight.nvim"},
{ "morhetz/gruvbox" },
{
"ray-x/lsp_signature.nvim",
config = function() require "lsp_signature".on_attach() end,
event = "InsertEnter"
},
-- Remote-sshfs
{ 'nosduco/remote-sshfs.nvim' },
-- Markdown Preview
{
"iamcco/markdown-preview.nvim",
build = "cd app && npm install",
ft = "markdown",
config = function()
vim.g.mkdp_auto_start = 1
end,
},
-- LatexLive Compile
{ "lervag/vimtex" },
-- -- Remember last Cursor Position:
{ "farmergreg/vim-lastplace" },
-- Rainbow parenthesis
{ "HiPhish/rainbow-delimiters.nvim" },
-- Personal Wiki:
-- { "vimwiki/vimwiki" }
{ "lervag/wiki.vim" },
-- Fortran Coding
{ "rudrab/vimf90" },
{ "pseewald/fprettify" }
}
-- vim.g.vimtex_compiler_latexmk.build_dir = ".tex"
-- vim.g.vimtex_compiler_latexmk = {
-- build_dir = 'build', -- Set the build directory to a desired subfolder
-- }
--
-- require 'lspconfig'.fortls.setup {}
require 'lspconfig'.fortls.setup {
cmd = {
'fortls',
'--lowercase_intrisics',
'--hover_signature',
'--hover_language=fortran',
'--use_signature_help',
'--formatting.arrangeSection=alignVariables'
}
}
--
vim.g.vimtex_compiler_method = 'latexmk' -- Set the compiler method to latexmk
vim.g.vimtex_compiler_latexmk = {
aux_dir = '.tex_aux',
out_dir = 'tex_pdf',
callback = 1,
continuous = 1,
executable = 'latexmk',
hooks = {},
options = {
'-verbose',
'-file-line-error',
'-synctex=1',
'-interaction=nonstopmode',
},
}
vim.cmd([[
augroup filetype_cuf
autocmd!
autocmd BufRead,BufNewFile *.cuf setfiletype fortran
augroup END
]])