takase1121
3b3677ca4b
add config.lineguide option
2021-08-02 09:57:21 +08:00
Francesco Abbate
135ad072bd
Move gutter width calculation out of loop
2021-07-28 13:02:38 -07:00
cukmekerb
4ad353eb4b
fix line number align bug
2021-07-28 13:02:38 -07:00
cukmekerb
63f406773b
align line numbers to right
2021-07-28 13:02:38 -07:00
Francesco Abbate
8103f21991
Only load plugins that are lua files
...
Before trying to load a plugin or checking its version verify if it
looks like a lua file.
Close issue #349 .
2021-07-27 23:18:15 +02:00
ep
af22a6a824
+readability, hopefully
2021-07-26 03:50:57 -07:00
ep
2df363747b
fix workspace folders on different drives in Windows
2021-07-26 03:50:57 -07:00
Adam
0a0bc87319
Merge pull request #301 from jgmdev/api-interfaces
...
Documented with EmmyLua the C API using .lua interface files.
2021-07-22 21:50:52 -04:00
Francesco Abbate
7605b626e8
Add language_cpp plugins
...
Brought form the 1.16.12 release.
It provides support for C++ using multi-part syntax patterns. Take
the priority over C language plugins for header files.
2021-07-19 08:18:38 +02:00
Francesco Abbate
d3f1a3a5b2
Bump 2.0-beta1 version
2021-07-17 21:30:25 +02:00
Adam
69da9655d1
Merge pull request #334 from adamharrison/find-fixes
...
Find Improvements
2021-07-16 17:53:41 -04:00
Adam
7d40458489
Merge pull request #335 from lite-xl/build-removal
...
Removed legacy build system.
2021-07-16 17:53:14 -04:00
Adam Harrison
e144ad3271
Removed legacy build system.
2021-07-15 20:47:44 -04:00
Adam Harrison
6330f4d596
Allowed find to function across different views.
2021-07-15 18:29:48 -04:00
Adam Harrison
a218a95c45
Updated keys as well.
2021-07-15 18:21:54 -04:00
Adam Harrison
0dda252096
Reverted find fixes.
2021-07-15 18:15:05 -04:00
takase1121
6bcdaa9d7a
Revert "fix number of parameters passed to self:move_towards"
...
Apparently the LSP intellisense is wrong on this one, this actually
causes an infinite loop
2021-07-15 18:01:27 -04:00
takase1121
169b8abae5
fix number of parameters passed to self:move_towards
...
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-15 18:01:24 -04:00
takase1121
4ef707e941
add compile_commands.json to gitignore
...
Apparently ccls needs it to work, and it's usually located in project
root. I symlinked it from the build folder and now I should put it in
gitignore
2021-07-15 18:01:24 -04:00
takase1121
c7bbf221ee
remove duplicated constants
2021-07-15 18:01:24 -04:00
takase1121
192a93014d
change double quotes to single quotes to reduce escaping
2021-07-15 18:01:24 -04:00
takase1121
818e21610c
do not terminate process when read fails
2021-07-15 18:01:24 -04:00
takase1121
de3013ce88
fix wrongly spaced variable name
2021-07-15 18:01:24 -04:00
takase1121
e7b025203b
add generic read function
...
process_read and process_read_errors no longer contain redundant code
2021-07-15 18:01:24 -04:00
takase1121
8bbb26a469
refactor process.c
...
- include api.h instead of individual #includes
- moved metatable name to API_TYPE_PROCESS
- moved read buffer size to READ_BUF_SIZE
2021-07-15 18:01:24 -04:00
takase1121
c41747c8fb
add .ccls-cache to .gitignore
...
For that one user that uses ccls :)
2021-07-15 18:01:24 -04:00
takase1121
f4f33bd36b
remove deprecated code
2021-07-15 18:01:24 -04:00
redtide
6e460a20ac
Added Editorconfig for the project ( #228 )
2021-07-15 18:01:22 -04:00
Francesco Abbate
265501bb9e
Fix problem with previous commit
...
Desastrous problem where core.normalize_path was removing the leading /.
2021-07-15 18:01:18 -04:00
Francesco Abbate
e1530c0951
Remove duplicate normalize_path function
...
Use the function defined in the "common" module.
Move the check for not-nil filename from common.normalize_path
to core.open_doc. In this latter the filename can be nil if a
new unnamed document is created.
2021-07-15 18:01:17 -04:00
Adam
0426fc26c2
Merge pull request #333 from adamharrison/namespace-config
...
Namespace plugin configs
2021-07-15 17:58:51 -04:00
Adam Harrison
423cd33810
Typo.
2021-07-15 17:58:14 -04:00
Adam Harrison
e539310e6d
Namespace plugin-specific configuration settings.
2021-07-15 17:58:14 -04:00
Adam
d10865bcc4
Merge pull request #303 from jgmdev/treeview-contextmenu
...
Added context menu to treeview.
2021-07-13 22:59:24 -04:00
redtide
0ed707c68f
InnoSetup build scripts
2021-07-13 23:41:32 +02:00
jgmdev
afa0c175e8
Added delete confirmation using NagView.
2021-07-12 11:41:31 -04:00
jgmdev
a4d5622eda
Make use of core.reschedule_project_scan()
2021-07-11 23:03:33 -04:00
Francesco Abbate
ad0530dafa
Remove unused script run-plugin
...
The script was most a duplication of run-local and was
not actually used.
2021-07-11 18:38:01 +02:00
Francesco Abbate
b3b99b9dcd
Fix run-local script to use new executable name
...
Updated the script to use the new name on the executable,
lite-xl instead of line.
2021-07-11 18:36:49 +02:00
jgmdev
900e9d1422
Namespaced aliases, virtual classes and added missing returns.
2021-07-09 18:33:25 -04:00
Adam
e1ae94a01b
Merge pull request #318 from lite-xl/MacOSClose
...
Created an extra command, to implement appropriate cmd+w behaviour on Mac.
2021-07-09 14:30:48 -04:00
Adam
1a87d0e4fd
Merge pull request #323 from lite-xl/liquidev-multicursor-reset-blink
...
Reset blink timer when a new cursor is created
2021-07-04 19:31:40 -04:00
lqdev
e5b2a7cbe8
reset blink timer when a new cursor is created
2021-07-01 14:50:28 +02:00
Adam
f29b6d1cc8
Merge pull request #309 from redtide/git-line-endings
...
Set default documents line endings behavior
2021-06-30 11:13:42 -04:00
Adam
9126b5e64d
Merge pull request #313 from jgmdev/add-system-rmdir
...
Added `system.rmdir(path)`, and `common.rm(path, recursive)`
2021-06-29 17:44:58 -04:00
jgmdev
68459a9199
Added context menu to treeview.
2021-06-28 11:11:49 -04:00
jgmdev
4188269cef
Added system.rmdir(path)
...
It is reported that the built-in lua function os.remove(path) does
not removes empty directories on windows. To fix this a system.rmdir
function is introduced that calls a native win32 function.
Also common.rm(path, recursively) was added which wraps system.rmdir()
to easily delete an entire folder with all its contents.
2021-06-28 11:07:27 -04:00
Adam Harrison
c2c59e9c99
Fixed XDG issue.
2021-06-28 10:44:40 -04:00
Adam
4d4c49e36e
Merge pull request #312 from redtide/application-name
...
Use lite-xl as project and executable names
2021-06-27 17:12:23 -04:00
Adam Harrison
f899848631
Added in checks so that the entire thing isn't consumed.
2021-06-27 13:27:20 -04:00